Skip to content

Commit 9b604b1

Browse files
authored
Fix possible warning when WIN32_LEAN_AND_MEAN is already defined.
1 parent d6f2ba8 commit 9b604b1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ccutil/platform.h

+2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@
2727
#ifndef NOMINMAX
2828
#define NOMINMAX
2929
#endif /* NOMINMAX */
30+
#ifndef WIN32_LEAN_AND_MEAN
3031
#define WIN32_LEAN_AND_MEAN
32+
#endif
3133
#ifdef __GNUC__
3234
#define ultoa _ultoa
3335
#endif /* __GNUC__ */

0 commit comments

Comments
 (0)