summaryrefslogtreecommitdiff
path: root/win32/signal.h
diff options
context:
space:
mode:
Diffstat (limited to 'win32/signal.h')
-rw-r--r--win32/signal.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/win32/signal.h b/win32/signal.h
new file mode 100644
index 0000000..de43f98
--- /dev/null
+++ b/win32/signal.h
@@ -0,0 +1,16 @@
+/*
+** Change here: if you plan to use your own version of <signal.h>
+** the original "#include <signal.h>" produces an infinite reinclusion
+** of this file, instead of including the standard include-file.
+** Under MS Visual Studio, there are occurences in the source where
+** <signal.h> gets included throughout the PHP sources, and this should
+** include THIS file, not the standard one which does not have the
+** additional signals defined below.
+** One way to remove the infinite reinclusion of this file (which is located
+** in ../win32), is to specify the parent directory in which the standard
+** include file is located.
+*/
+#include <../include/signal.h>
+#define SIGALRM 13
+#define SIGVTALRM 26 /* virtual time alarm */
+#define SIGPROF 27 /* profiling time alarm */