mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-21 19:45:10 +00:00
Fix windows compilation by undefining min and max when defined via minwindef.h (already in main) (#378)
This commit is contained in:
parent
f8a30e4fd8
commit
479cc9d79d
1 changed files with 8 additions and 0 deletions
|
@ -24,6 +24,14 @@ extern f32 gSineTable[];
|
|||
extern f32 gCosineTable[];
|
||||
#endif
|
||||
|
||||
#if defined(min)
|
||||
#undef min
|
||||
#endif
|
||||
|
||||
#if defined(max)
|
||||
#undef max
|
||||
#endif
|
||||
|
||||
// Inline Function prototypes
|
||||
f32 minf(f32 a, f32 b);
|
||||
s16 min(s16 a, s16 b);
|
||||
|
|
Loading…
Reference in a new issue