aboutsummaryrefslogtreecommitdiff
path: root/jim-win32compat.h
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2014-01-11 21:13:16 +1000
committerSteve Bennett <steveb@workware.net.au>2014-01-21 16:10:19 +1000
commitfcfb8169cfa5fefe5610bcc4297500ead2dfaf42 (patch)
tree01f5b859d134e7f164a3b6935bffe9607d6fb05b /jim-win32compat.h
parent30a78d4c698c3d47ecf2d399cd553d9e4340c788 (diff)
downloadjimtcl-fcfb8169cfa5fefe5610bcc4297500ead2dfaf42.zip
jimtcl-fcfb8169cfa5fefe5610bcc4297500ead2dfaf42.tar.gz
jimtcl-fcfb8169cfa5fefe5610bcc4297500ead2dfaf42.tar.bz2
many comment changes, some small code changes
Sweep through and clean up all (most) of the comments in the code. While there, adjust some variable and function names to be more consistent, and make a few small code changes - again, mostly for consistency. Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'jim-win32compat.h')
-rw-r--r--jim-win32compat.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/jim-win32compat.h b/jim-win32compat.h
index 080cda0..23a3dfe 100644
--- a/jim-win32compat.h
+++ b/jim-win32compat.h
@@ -3,6 +3,10 @@
/* Compatibility for Windows (mingw and msvc, not cygwin */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* Note that at this point we don't yet have access to jimautoconf.h */
#if defined(_WIN32) || defined(WIN32)
@@ -70,4 +74,8 @@ struct dirent *readdir(DIR *dir);
#endif /* WIN32 */
+#ifdef __cplusplus
+}
+#endif
+
#endif