We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96c40c6 commit c3705d8Copy full SHA for c3705d8
src/include/port/win32.h
@@ -1,4 +1,4 @@
1
-/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.90 2009/09/07 11:22:12 mha Exp $ */
+/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.91 2010/01/02 22:47:37 mha Exp $ */
2
3
#if defined(_MSC_VER) || defined(__BORLANDC__)
4
#define WIN32_ONLY_COMPILER
@@ -303,7 +303,11 @@ extern void pgwin32_unsetenv(const char *);
303
304
/* Things that exist in MingW headers, but need to be added to MSVC & BCC */
305
#ifdef WIN32_ONLY_COMPILER
306
+#ifndef _WIN64
307
typedef long ssize_t;
308
+#else
309
+typedef __int64 ssize_t;
310
+#endif
311
312
#ifndef __BORLANDC__
313
typedef unsigned short mode_t;
0 commit comments