Skip to content

Commit

Permalink
Do not redefine NOMINMAX (KhronosGroup#801)
Browse files Browse the repository at this point in the history
  • Loading branch information
corporateshark authored Nov 21, 2023
1 parent dd3bfd1 commit 64dae41
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/gl_format.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,9 @@ MODIFICATIONS for use in libktx
#include "vkformat_enum.h"

#if defined(_WIN32) && !defined(__MINGW32__)
#if !defined(NOMINMAX)
#define NOMINMAX
#endif // !defined(NOMINMAX)
#ifndef __cplusplus
#undef inline
#define inline __inline
Expand Down

0 comments on commit 64dae41

Please sign in to comment.