Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2563101

Browse files
JordanStopfordcarlosmn
authored andcommitted
Fix macro redefinition warning
1 parent 55bc135 commit 2563101

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/thread-utils.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
#include "thread-utils.h"
99

1010
#ifdef _WIN32
11+
#ifndef WIN32_LEAN_AND_MEAN
1112
# define WIN32_LEAN_AND_MEAN
13+
#endif
1214
# include <windows.h>
1315
#elif defined(hpux) || defined(__hpux) || defined(_hpux)
1416
# include <sys/pstat.h>

0 commit comments

Comments
 (0)