]> granicus.if.org Git - php/commitdiff
fix include with vc14
authorAnatol Belski <ab@php.net>
Mon, 13 Apr 2015 08:51:24 +0000 (10:51 +0200)
committerAnatol Belski <ab@php.net>
Wed, 22 Apr 2015 20:26:06 +0000 (22:26 +0200)
win32/signal.h

index df60dfb728f43cde11c906acab190f44c96bb31d..a131e6ef99785fd9c932c7298f0a69700ec3956a 100644 (file)
@@ -1,3 +1,6 @@
+#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
@@ -11,6 +14,7 @@
 ** include file is located.
 */
 #include <../include/signal.h>
+#endif
 #define SIGALRM 13
 #define        SIGVTALRM 26                    /* virtual time alarm */
 #define        SIGPROF 27                              /* profiling time alarm */