diff options
author | berkeviktor@aol.com <berkeviktor@aol.com> | 2010-10-05 23:12:36 +0200 |
---|---|---|
committer | berkeviktor@aol.com <berkeviktor@aol.com> | 2010-10-05 23:12:36 +0200 |
commit | 234b4b618598ee7c90a07e513bb9498aa984a5a7 (patch) | |
tree | 116a35332ad140a2f334ac2206edbafa91ad24a5 /ext/enchant-wdk/src/config.h | |
parent | ed217600232f3cf93efe1d93da0eb70068195831 (diff) |
wdk build environment for enchant 1.6
Diffstat (limited to 'ext/enchant-wdk/src/config.h')
-rw-r--r-- | ext/enchant-wdk/src/config.h | 13 |
1 files changed, 13 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..9b569554 --- /dev/null +++ b/ext/enchant-wdk/src/config.h @@ -0,0 +1,13 @@ +/* + * Hand tailored config.h for windows. + */ + +/* define ssize_t to int if <sys/types.h> doesn't define.*/ +typedef int ssize_t; +/* #undef ssize_t */ + +#if defined(_MSC_VER) +#pragma warning(disable: 4996) /* The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name. */ +#endif + +#define ENCHANT_VERSION_STRING "1.6.0" |