Edit report at http://bugs.php.net/bug.php?id=52316&edit=1
ID: 52316 Updated by: paj...@php.net Reported by: hendrik dot schmieder at jedox dot com Summary: Macro redefinition with Visual Studio 2010 -Status: Open +Status: Feedback Type: Bug Package: Compile Warning Operating System: Windows PHP Version: 5.2.13 -Assigned To: +Assigned To: pajoye New Comment: Is it not fixed already in 5.3? Previous Comments: ------------------------------------------------------------------------ [2010-07-12 16:19:21] hendrik dot schmieder at jedox dot com Description: ------------ With Visual Studio 2010 you get the warning. ...\tsrm\readdir.h(10): warning C4005: '_WIN32_WINNT' : macro redefinition C:\Programme\Microsoft SDKs\Windows\v7.0A\include\sdkddkver.h(197) : see previous definition of '_WIN32_WINNT' Changing in readdir.h #define _WIN32_WINNT 0x0400 to #ifndef _WIN32_WINNT #define _WIN32_WINNT 0x0400 #endif would solve the problem. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=52316&edit=1