Skip to content

Commit cfadcfc

Browse files
committed
cleanup more redundant S_IS* declarations
1 parent d713fcc commit cfadcfc

File tree

3 files changed

+0
-14
lines changed

3 files changed

+0
-14
lines changed

ext/opcache/zend_accelerator_module.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -243,10 +243,6 @@ static ZEND_INI_MH(OnEnable)
243243

244244
#ifdef HAVE_OPCACHE_FILE_CACHE
245245

246-
#ifndef S_ISDIR
247-
# define S_ISDIR(mode) (((mode)&S_IFMT) == S_IFDIR)
248-
#endif
249-
250246
static ZEND_INI_MH(OnUpdateFileCache)
251247
{
252248
if (new_value) {

sapi/cli/php_cli_server.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,6 @@
9191
# define SOCK_EADDRINUSE WSAEADDRINUSE
9292
#endif
9393

94-
#ifndef S_ISDIR
95-
#define S_ISDIR(mode) (((mode)&S_IFMT) == S_IFDIR)
96-
#endif
97-
9894
#include "ext/standard/file.h" /* for php_set_sock_blocking() :-( */
9995
#include "zend_smart_str.h"
10096
#include "ext/standard/html.h"

win32/glob.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,6 @@
7171
# define ARG_MAX 14500
7272
# endif
7373
#endif
74-
#ifndef S_ISDIR
75-
#define S_ISDIR(m) (((m) & _S_IFDIR) == _S_IFDIR)
76-
#endif
77-
#ifndef S_ISLNK
78-
#define S_ISLNK(m) (0)
79-
#endif
8074
#endif
8175

8276
#include "php.h"

0 commit comments

Comments
 (0)