com php-src: added the inclusion guard: win32/signal.h
| From: | Anatol Belski | Date: | Thu, 14 May 2015 22:15:01 +0000 |
| Subject: | com php-src: added the inclusion guard: win32/signal.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-86765@lists.php.net to get a copy of this message | ||
Commit: 55f6687237b1d7934554a51bd596d79577351aae
Author: Anatol Belski <ab@php.net> Fri, 15 May 2015 00:00:06 +0200
Parents: 196b9517281aebd972e7f287433aa97af2e06087
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=55f6687237b1d7934554a51bd596d79577351aae
Log:
added the inclusion guard
the vc check can be likely removed, to be checked
Changed paths:
M win32/signal.h
Diff:
diff --git a/win32/signal.h b/win32/signal.h
index a131e6e..8d4f411 100644
--- a/win32/signal.h
+++ b/win32/signal.h
@@ -1,3 +1,6 @@
+#ifndef PHP_WIN32_SIGNAL_H
+#define PHP_WIN32_SIGNAL_H
+
#if _MSC_VER >= 1900
#include <signal.h>
#else
@@ -18,3 +21,5 @@
#define SIGALRM 13
#define SIGVTALRM 26 /* virtual time alarm */
#define SIGPROF 27 /* profiling time alarm */
+
+#endif /* PHP_WIN32_SIGNAL_H */