Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc3705d8

Browse files
committed
Make ssize_t 64-bit on Win64, for compatibility with for example plpython.
1 parent96c40c6 commitc3705d8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

‎src/include/port/win32.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.90 2009/09/07 11:22:12 mha Exp $ */
1+
/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.91 2010/01/0222:47:37 mha Exp $ */
22

33
#if defined(_MSC_VER)|| defined(__BORLANDC__)
44
#defineWIN32_ONLY_COMPILER
@@ -303,7 +303,11 @@ extern void pgwin32_unsetenv(const char *);
303303

304304
/* Things that exist in MingW headers, but need to be added to MSVC & BCC */
305305
#ifdefWIN32_ONLY_COMPILER
306+
#ifndef_WIN64
306307
typedeflongssize_t;
308+
#else
309+
typedef__int64ssize_t;
310+
#endif
307311

308312
#ifndef__BORLANDC__
309313
typedefunsigned shortmode_t;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp