summary refs log tree commit diff stats
path: root/ext/enchant-wdk/src/config.h
diff options
context:
space:
mode:
authorberkeviktor@aol.com <berkeviktor@aol.com>2011-02-28 18:59:32 +0100
committerberkeviktor@aol.com <berkeviktor@aol.com>2011-02-28 18:59:32 +0100
commitd03d6e606b40157d910ddf99ab018156abeb8ef0 (patch)
tree1f2b148661fb688ae0863b361e49f19672dbe685 /ext/enchant-wdk/src/config.h
parentad7ea4b77e059880ef8f7cb05fe2aa2cdcc217fb (diff)
add wdk changes to named branch
Diffstat (limited to 'ext/enchant-wdk/src/config.h')
-rw-r--r--ext/enchant-wdk/src/config.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/ext/enchant-wdk/src/config.h b/ext/enchant-wdk/src/config.h
new file mode 100644
index 00000000..d91c69c6
--- /dev/null
+++ b/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"