summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorewt <ewt>1998-10-26 21:20:31 +0000
committerewt <ewt>1998-10-26 21:20:31 +0000
commit0e8634d63cd63fd406a300843f39d8247f69bd5b (patch)
treeb313cb7c2d57359fbc61eb30fcb42fe923429204
parentc08f91fe8e2185b5f01379880867cb2edfd8ecbd (diff)
downloadlibpopt-0e8634d63cd63fd406a300843f39d8247f69bd5b.tar.gz
don't typedef poptOption on c++
-rw-r--r--popt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/popt.h b/popt.h
index 7f953ac..ba3a815 100644
--- a/popt.h
+++ b/popt.h
@@ -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,