]> granicus.if.org Git - php/commitdiff
remove version check
authorAnatol Belski <ab@php.net>
Fri, 15 May 2015 06:20:33 +0000 (08:20 +0200)
committerAnatol Belski <ab@php.net>
Fri, 15 May 2015 06:20:33 +0000 (08:20 +0200)
the cause of the recursive inclusion is fixed, it's not compiler
version dependent

win32/signal.h

index 8d4f411d21078fcdf46ea2e23f4f7bbbc48fa85c..ec739527ac146c2022b61e639a2a9a08810519c7 100644 (file)
@@ -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 */