summaryrefslogtreecommitdiff
path: root/src/port/open.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/port/open.c')
-rw-r--r--src/port/open.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/port/open.c b/src/port/open.c
index 436cbae4826..f37afc75121 100644
--- a/src/port/open.c
+++ b/src/port/open.c
@@ -70,6 +70,9 @@ pgwin32_open(const char *fileName, int fileFlags,...)
(O_RANDOM | O_SEQUENTIAL | O_TEMPORARY) |
_O_SHORT_LIVED | O_DSYNC | O_DIRECT |
(O_CREAT | O_TRUNC | O_EXCL) | (O_TEXT | O_BINARY))) == fileFlags);
+#ifndef FRONTEND
+ Assert(pgwin32_signal_event != NULL); /* small chance of pg_usleep() */
+#endif
#ifdef FRONTEND