summary refs log tree commit diff stats
path: root/win32/ext/enchant-wdk/src/config.h
diff options
context:
space:
mode:
authorBerke Viktor <berkeviktor@aol.com>2011-12-11 14:29:37 +0100
committerBerke Viktor <berkeviktor@aol.com>2011-12-11 14:29:37 +0100
commit2012320d0eed36e0461e44ac9be8cc162c135bf5 (patch)
tree6c8674c36fa245b421c38b60f7031a71a0b2ad4b /win32/ext/enchant-wdk/src/config.h
parent1b84f0467a169e2b20018dce0787973a0ba52273 (diff)
restructuring
Diffstat (limited to 'win32/ext/enchant-wdk/src/config.h')
-rw-r--r--win32/ext/enchant-wdk/src/config.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/win32/ext/enchant-wdk/src/config.h b/win32/ext/enchant-wdk/src/config.h
new file mode 100644
index 00000000..d91c69c6
--- /dev/null
+++ b/win32/ext/enchant-wdk/src/config.h
@@ -0,0 +1,15 @@
+#include <sys/types.h>
+
+#ifndef SSIZE_T_DEFINED
+#ifdef ssize_t
+#undef ssize_t
+#endif
+#ifdef _WIN64
+typedef __int64          ssize_t;
+#else
+typedef _W64 int         ssize_t;
+#endif
+#define SSIZE_T_DEFINED
+#endif
+
+#define ENCHANT_VERSION_STRING "1.6.0"