2009-06-18 12:41:23 +00:00
|
|
|
--- a/cgi.h
|
|
|
|
+++ b/cgi.h
|
|
|
|
@@ -24,6 +24,10 @@
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2008-01-03 17:32:18 +00:00
|
|
|
|
|
|
|
+#ifdef __cplusplus
|
|
|
|
+extern "C" {
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
typedef struct var_s {
|
|
|
|
char *name,
|
|
|
|
*value;
|
2009-06-18 12:41:23 +00:00
|
|
|
@@ -146,4 +150,8 @@ char *cgiEscape (char *string);
|
|
|
|
extern }
|
|
|
|
#endif
|
2008-01-03 17:32:18 +00:00
|
|
|
|
|
|
|
+#ifdef __cplusplus
|
|
|
|
+} /* end of extern "C" */
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#endif /* _CGI_H_ */
|