about summary refs log tree commit diff stats
path: root/WWW/Library/Implementation/HTWAIS.h
diff options
context:
space:
mode:
Diffstat (limited to 'WWW/Library/Implementation/HTWAIS.h')
-rw-r--r--WWW/Library/Implementation/HTWAIS.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/WWW/Library/Implementation/HTWAIS.h b/WWW/Library/Implementation/HTWAIS.h
index 5f7af9f1..4ba6f678 100644
--- a/WWW/Library/Implementation/HTWAIS.h
+++ b/WWW/Library/Implementation/HTWAIS.h
@@ -27,11 +27,17 @@
 
 #include <HTAccess.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
 #ifdef GLOBALREF_IS_MACRO
-extern GLOBALREF (HTProtocol, HTWAIS);
+    extern GLOBALREF (HTProtocol, HTWAIS);
 
 #else
-GLOBALREF HTProtocol HTWAIS;
-#endif /* GLOBALDEF_IS_MACRO */
+    GLOBALREF HTProtocol HTWAIS;
+#endif				/* GLOBALDEF_IS_MACRO */
 
-#endif /* HTWAIS_H */
+#ifdef __cplusplus
+}
+#endif
+#endif				/* HTWAIS_H */