mirror of
https://github.com/postgres/postgres.git
synced 2025-08-09 17:03:00 +03:00
31 lines
490 B
C
31 lines
490 B
C
#include <winsock.h>
|
|
|
|
/*
|
|
* strcasecmp() is not in Windows, stricmp is, though
|
|
*/
|
|
#define strcasecmp(a,b) stricmp(a,b)
|
|
|
|
#define SOCKET_SIZE_TYPE int
|
|
|
|
/*
|
|
* Some compat functions
|
|
*/
|
|
#define open(a,b,c) _open(a,b,c)
|
|
#define read(a,b,c) _read(a,b,c)
|
|
#define write(a,b,c) _write(a,b,c)
|
|
|
|
|
|
/*
|
|
* crypt not available (yet)
|
|
*/
|
|
#define crypt(a,b) a
|
|
|
|
/*
|
|
* Parts of config.h that you get with autoconf on other systems
|
|
*/
|
|
|
|
#define DEF_PGPORT "5432"
|
|
#define BLCKSZ 8192
|
|
#define MAXIMUM_ALIGNOF 4
|
|
|