mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
remove version check
the cause of the recursive inclusion is fixed, it's not compiler version dependent
This commit is contained in:
parent
3bbe81286d
commit
2027b949ea
1 changed files with 1 additions and 16 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue