com php-src: Fix PHP_OS_FAMILY for Linux (Joe): main/php.h
| From: | Kalle Sommer Nielsen | Date: | Wed, 22 Feb 2017 21:13:33 +0000 |
| Subject: | com php-src: Fix PHP_OS_FAMILY for Linux (Joe): main/php.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-97154@lists.php.net to get a copy of this message | ||
Commit: db982bbaa150dceb91e2f839e97c4e1a5f2ddd24
Author: Kalle Sommer Nielsen <kalle@php.net> Wed, 22 Feb 2017 22:13:33 +0100
Parents: f9959ee7c2004919675d9cdc7c82f886f099f15f
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=db982bbaa150dceb91e2f839e97c4e1a5f2ddd24
Log:
Fix PHP_OS_FAMILY for Linux (Joe)
Changed paths:
M main/php.h
Diff:
diff --git a/main/php.h b/main/php.h
index fcf7b8c..d08aa21 100644
--- a/main/php.h
+++ b/main/php.h
@@ -51,6 +51,8 @@
#elif defined(__sun__)
# define PHP_OS_FAMILY "Solaris"
#elif defined(__linux__)
+# define PHP_OS_FAMILY "Linux"
+#else
# define PHP_OS_FAMILY "Unknown"
#endif