From 11a9adb19fbfbf265f37edba893a810ea50959a1 Mon Sep 17 00:00:00 2001 From: "berkeviktor@aol.com" Date: Wed, 6 Oct 2010 14:29:45 +0200 Subject: be consistent about ssize_t --- src/fe-gtk/typedef.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/fe-gtk/typedef.h (limited to 'src') diff --git a/src/fe-gtk/typedef.h b/src/fe-gtk/typedef.h new file mode 100644 index 00000000..b20612ea --- /dev/null +++ b/src/fe-gtk/typedef.h @@ -0,0 +1,11 @@ +#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 -- cgit 1.4.1