diff options
author | Philippe Verdy <verdy_p@php.net> | 1999-08-08 17:42:12 +0000 |
---|---|---|
committer | Philippe Verdy <verdy_p@php.net> | 1999-08-08 17:42:12 +0000 |
commit | 26b123b7f9814d5c6372be8e5dbb453e8dd80c6c (patch) | |
tree | 7b3164655c749ef09212a7d58de65fc9725f996a /win32 | |
parent | daa7982110159d22b1b38cc7cea2b25fb9b6697a (diff) | |
download | php-git-26b123b7f9814d5c6372be8e5dbb453e8dd80c6c.tar.gz |
solve infinite recursion error when including <signal.h>
Diffstat (limited to 'win32')
-rw-r--r-- | win32/signal.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/win32/signal.h b/win32/signal.h index 58941d4793..a95b15c102 100644 --- a/win32/signal.h +++ b/win32/signal.h @@ -1,4 +1,16 @@ -#include <signal.h> +/* +** 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 occurences in the source where +** <signal.h> gets included throughout the PHP4 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> #define SIGALRM 13 #define SIGVTALRM 26 /* virtual time alarm */ #define SIGPROF 27 /* profiling time alarm */ |