Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion TSRM/TSRM.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ typedef uintptr_t tsrm_uintptr_t;

#ifdef TSRM_WIN32
# ifndef TSRM_INCLUDE_FULL_WINDOWS_HEADERS
# define WIN32_LEAN_AND_MEAN
# ifndef WIN32_LEAN_AND_MEAN
# define WIN32_LEAN_AND_MEAN
# endif
# endif
#else
# include <pthread.h>
Expand Down
2 changes: 2 additions & 0 deletions Zend/zend_config.w32.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@
#include <string.h>

#ifndef ZEND_INCLUDE_FULL_WINDOWS_HEADERS
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif
#endif
#include <winsock2.h>
#include <windows.h>

Expand Down
4 changes: 3 additions & 1 deletion main/php.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@
/* Windows specific defines */
#ifdef PHP_WIN32
# define PHP_PROG_SENDMAIL "Built in mailer"
# define WIN32_LEAN_AND_MEAN
# ifndef WIN32_LEAN_AND_MEAN
# define WIN32_LEAN_AND_MEAN
# endif
# define NOOPENFILE

# include <io.h>
Expand Down
2 changes: 2 additions & 0 deletions win32/syslog.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@

#ifndef SYSLOG_H
#define SYSLOG_H
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif
#include <windows.h>

#define LOG_EMERG 1
Expand Down
Loading