mirror of https://github.com/postgres/postgres
Borland CC 5.5.1 needs ssize_t, per cnliou9@fastmail.fm.
This commit is contained in:
parent
a36436ea3f
commit
7a1b72f6ef
|
@ -1,4 +1,4 @@
|
|||
/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.79 2007/11/15 21:14:44 momjian Exp $ */
|
||||
/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.80 2007/11/24 01:32:48 momjian Exp $ */
|
||||
|
||||
#if defined(_MSC_VER) || defined(__BORLANDC__)
|
||||
#define WIN32_ONLY_COMPILER
|
||||
|
@ -280,8 +280,8 @@ extern void _dosmaperr(unsigned long);
|
|||
|
||||
/* Things that exist in MingW headers, but need to be added to MSVC */
|
||||
#ifdef WIN32_ONLY_COMPILER
|
||||
#ifndef __BORLANDC__
|
||||
typedef long ssize_t;
|
||||
#ifndef __BORLANDC__
|
||||
typedef unsigned short mode_t;
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue