File tree Expand file tree Collapse file tree 1 file changed +1
-37
lines changed Expand file tree Collapse file tree 1 file changed +1
-37
lines changed Original file line number Diff line number Diff line change 1- /* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.72 2007/01/26 20:06:52 tgl Exp $ */
1+ /* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.73 2007/03/23 08:30:55 mha Exp $ */
22
33#if defined(_MSC_VER ) || defined(__BORLANDC__ )
44#define WIN32_ONLY_COMPILER
7676#define SETVAL 131072
7777#define GETPID 262144
7878
79- /*
80- * Shared memory
81- */
82- struct shmid_ds
83- {
84- int dummy ;
85- int shm_nattch ;
86- };
87-
88- int shmdt (const void * shmaddr );
89- void * shmat (int memId , void * shmaddr , int flag );
90- int shmctl (int shmid , int flag , struct shmid_ds * dummy );
91- int shmget (int memKey , int size , int flag );
92-
93-
94- /*
95- * Semaphores
96- */
97- union semun
98- {
99- int val ;
100- struct semid_ds * buf ;
101- unsigned short * array ;
102- };
103-
104- struct sembuf
105- {
106- int sem_flg ;
107- int sem_op ;
108- int sem_num ;
109- };
110-
111- int semctl (int semId , int semNum , int flag , union semun );
112- int semget (int semKey , int semNum , int flags );
113- int semop (int semId , struct sembuf * sops , int flag );
114-
11579
11680/*
11781 * Signal stuff
You can’t perform that action at this time.
0 commit comments