summaryrefslogtreecommitdiff
path: root/main/streams/php_streams_int.h
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2015-05-25 13:47:31 +0200
committerAnatol Belski <ab@php.net>2015-05-25 18:03:28 +0200
commitc444c4172f219b7461e2d38e1bbd87f9eeb2a0cd (patch)
treef2cd1de69efe091997abe30d239dff3a1cbbb5c7 /main/streams/php_streams_int.h
parentcfadcfc73486828b53ec45217fd00659a1a2e918 (diff)
downloadphp-git-c444c4172f219b7461e2d38e1bbd87f9eeb2a0cd.tar.gz
further cleanups with S_IF* macros generalized declarations
Diffstat (limited to 'main/streams/php_streams_int.h')
-rw-r--r--main/streams/php_streams_int.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/main/streams/php_streams_int.h b/main/streams/php_streams_int.h
index c47c666178..0188202c91 100644
--- a/main/streams/php_streams_int.h
+++ b/main/streams/php_streams_int.h
@@ -55,10 +55,6 @@
# define EWOULDBLOCK WSAEWOULDBLOCK
#endif
-#ifndef S_ISREG
-#define S_ISREG(mode) (((mode)&S_IFMT) == S_IFREG)
-#endif
-
/* This functions transforms the first char to 'w' if it's not 'r', 'a' or 'w'
* and strips any subsequent chars except '+' and 'b'.
* Use this to sanitize stream->mode if you call e.g. fdopen, fopencookie or