#define JMP_BUF
#define NEED_SIG_JMP
//#define NO_UNISTD_H
//#define NOFILE            256
#define HAS_TEST_AND_SET
#define USE_POSIX_TIME
typedef unsigned char slock_t;
#ifndef MAXPATHLEN
#define MAXPATHLEN        256
#endif
#define SEMMUTEX "\\SEM32\\POSTGRESQL-8.4.1\\LOCK"
//#define PGDLLIMPORT _System

#undef HAVE_UNION_SEMUN
#define HAVE_UNION_SEMUN 1
#define EACCESS 2048
#define EIDRM 4096
#define SETALL 8192
#define GETNCNT 16384
#define GETVAL 65536
#define SETVAL 131072
#define GETPID 262144
/*
 *      Shared memory
  */
  /*
   *      Semaphores
    */
    union semun
    {
     int val;
     struct semid_ds *buf;
     unsigned short *array;
    };

