aboutsummaryrefslogtreecommitdiff
path: root/src/include/storage/pg_sema.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/storage/pg_sema.h')
-rw-r--r--src/include/storage/pg_sema.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/include/storage/pg_sema.h b/src/include/storage/pg_sema.h
index bacbd7d3f0c..65a482468d3 100644
--- a/src/include/storage/pg_sema.h
+++ b/src/include/storage/pg_sema.h
@@ -13,7 +13,7 @@
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/storage/pg_sema.h,v 1.8 2006/03/05 15:58:59 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/storage/pg_sema.h,v 1.9 2006/04/29 16:34:41 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -54,6 +54,11 @@ typedef struct PGSemaphoreData
} PGSemaphoreData;
#endif
+#ifdef USE_WIN32_SEMAPHORES
+
+typedef HANDLE PGSemaphoreData;
+#endif
+
typedef PGSemaphoreData *PGSemaphore;