summaryrefslogtreecommitdiff
path: root/main/php.h
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2003-09-24 23:20:48 +0000
committerIlia Alshanetsky <iliaa@php.net>2003-09-24 23:20:48 +0000
commit102a5cadfd06b147c072493317a7c758794847f7 (patch)
tree0412b2213b33fd627e58e624de4d11010f5872aa /main/php.h
parent54a2a2ad2ead310fdf6f35e84ff5f8ef58d9c270 (diff)
downloadphp-git-102a5cadfd06b147c072493317a7c758794847f7.tar.gz
Fixed bug #25293 (Output correct EOL to error_log)
Diffstat (limited to 'main/php.h')
-rw-r--r--main/php.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/main/php.h b/main/php.h
index b985d4bf9f..16d9ec03ee 100644
--- a/main/php.h
+++ b/main/php.h
@@ -55,10 +55,16 @@
# define PHPAPI __declspec(dllimport)
# endif
#define PHP_DIR_SEPARATOR '\\'
+#define PHP_EOL "\r\n"
#else
#define PHPAPI
#define THREAD_LS
#define PHP_DIR_SEPARATOR '/'
+#if defined(__MacOSX__)
+#define PHP_EOL "\r"
+#else
+#define PHP_EOL "\n"
+#endif
#endif
#ifdef NETWARE