projects
/
12.09
/
packages.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
branch Attitude Adjustment packages
[12.09/packages.git]
/
libs
/
cgilib
/
patches
/
300-cpp_bugfix.patch
1
--- a/cgi.h
2
+++ b/cgi.h
3
@@ -24,6 +24,10 @@
4
extern "C" {
5
#endif
6
7
+#ifdef __cplusplus
8
+extern "C" {
9
+#endif
10
+
11
typedef struct var_s {
12
char *name,
13
*value;
14
@@ -146,4 +150,8 @@ char *cgiEscape (char *string);
15
extern }
16
#endif
17
18
+#ifdef __cplusplus
19
+} /* end of extern "C" */
20
+#endif
21
+
22
#endif /* _CGI_H_ */