cvs: /php4/win32 signal.h

From: Date: Sun, 08 Aug 1999 17:42:12 +0000
Subject: cvs: /php4/win32 signal.h
Groups: php.version4 
Request: Send a blank email to php-version4+get-3211@lists.php.net to get a copy of this message
verdy_p Sun Aug 8 13:42:12 1999 EDT Modified files: /php4/win32 signal.h Log: solve infinite recursion error when including <signal.h> Index: php4/win32/signal.h diff -u php4/win32/signal.h:1.1 php4/win32/signal.h:1.2 --- php4/win32/signal.h:1.1 Wed Apr 7 17:05:12 1999 +++ php4/win32/signal.h Sun Aug 8 13:42:12 1999 @@ -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 */

« previous php.version4 (#3211) next »