summaryrefslogtreecommitdiff
path: root/win32/signal.h
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2015-05-15 08:20:33 +0200
committerAnatol Belski <ab@php.net>2015-05-15 08:20:33 +0200
commit2027b949ea76dacb43aae2bb42d671f175b376a5 (patch)
tree1281dce15459bd5d831110d877e46ea15de023b5 /win32/signal.h
parent3bbe81286d24a4e8ae9c5a838e45148b23cf1df5 (diff)
downloadphp-git-2027b949ea76dacb43aae2bb42d671f175b376a5.tar.gz
remove version check
the cause of the recursive inclusion is fixed, it's not compiler version dependent
Diffstat (limited to 'win32/signal.h')
-rw-r--r--win32/signal.h17
1 files changed, 1 insertions, 16 deletions
diff --git a/win32/signal.h b/win32/signal.h
index 8d4f411d21..ec739527ac 100644
--- a/win32/signal.h
+++ b/win32/signal.h
@@ -1,23 +1,8 @@
#ifndef PHP_WIN32_SIGNAL_H
#define PHP_WIN32_SIGNAL_H
-#if _MSC_VER >= 1900
#include <signal.h>
-#else
-/*
-** 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 occurrences 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>
-#endif
+
#define SIGALRM 13
#define SIGVTALRM 26 /* virtual time alarm */
#define SIGPROF 27 /* profiling time alarm */