diff options
author | ewt <ewt> | 1998-10-26 21:20:31 +0000 |
---|---|---|
committer | ewt <ewt> | 1998-10-26 21:20:31 +0000 |
commit | 0e8634d63cd63fd406a300843f39d8247f69bd5b (patch) | |
tree | b313cb7c2d57359fbc61eb30fcb42fe923429204 | |
parent | c08f91fe8e2185b5f01379880867cb2edfd8ecbd (diff) | |
download | libpopt-0e8634d63cd63fd406a300843f39d8247f69bd5b.tar.gz |
don't typedef poptOption on c++
-rw-r--r-- | popt.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -62,7 +62,9 @@ extern struct poptOption poptHelpOptions[]; 0, "Help options", NULL }, typedef struct poptContext_s * poptContext; +#ifndef __cplusplus typedef struct poptOption * poptOption; +#endif #define POPT_CB_USE_INCLUDE_DATA ((void *) -1) enum poptCallbackReason { POPT_CALLBACK_REASON_PRE, |