com php-src: remove version check: win32/signal.h

From: Date: Fri, 15 May 2015 06:20:33 +0000
Subject: com php-src: remove version check: win32/signal.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-86773@lists.php.net to get a copy of this message
Commit: 2027b949ea76dacb43aae2bb42d671f175b376a5 Author: Anatol Belski <ab@php.net> Fri, 15 May 2015 08:20:33 +0200 Parents: 3bbe81286d24a4e8ae9c5a838e45148b23cf1df5 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=2027b949ea76dacb43aae2bb42d671f175b376a5 Log: remove version check the cause of the recursive inclusion is fixed, it's not compiler version dependent Changed paths: M win32/signal.h Diff: diff --git a/win32/signal..h b/win32/signal.h index 8d4f411..ec73952 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 */

« previous php.cvs (#86773) next »