Annotation of parser3/src/sql/pgsql/PgSQL32/include/win32.h, revision 1.1
1.1 ! parser 1: #include <winsock.h>
! 2:
! 3: /*
! 4: * strcasecmp() is not in Windows, stricmp is, though
! 5: */
! 6: #define strcasecmp(a,b) stricmp(a,b)
! 7: #define strncasecmp(a,b,c) _strnicmp(a,b,c)
! 8:
! 9: /*
! 10: * Some compat functions
! 11: */
! 12: #define open(a,b,c) _open(a,b,c)
! 13: #define close(a) _close(a)
! 14: #define read(a,b,c) _read(a,b,c)
! 15: #define write(a,b,c) _write(a,b,c)
! 16: #define popen(a,b) _popen(a,b)
! 17: #define pclose(a) _pclose(a)
! 18: #define vsnprintf(a,b,c,d) _vsnprintf(a,b,c,d)
! 19:
! 20: /*
! 21: * crypt not available (yet)
! 22: */
! 23: #define crypt(a,b) a
E-mail: