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