Skip to content

Commit 46c5c0d

Browse files
committed
Fix CxImage compilation
1 parent 6f94e86 commit 46c5c0d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Externals/cximage/xfile.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@
4242
#define __xfile_h
4343

4444
#if defined (WIN32) || defined (_WIN32_WCE)
45-
#include <windows.h>
45+
#define NOMINMAX
46+
#include <windows.h>
4647
#endif
4748

4849
#include <stdio.h>

0 commit comments

Comments
 (0)