mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-01-22 23:52:15 -05: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[];
|
extern f32 gCosineTable[];
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(min)
|
||||||
|
#undef min
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(max)
|
||||||
|
#undef max
|
||||||
|
#endif
|
||||||
|
|
||||||
// Inline Function prototypes
|
// Inline Function prototypes
|
||||||
f32 minf(f32 a, f32 b);
|
f32 minf(f32 a, f32 b);
|
||||||
s16 min(s16 a, s16 b);
|
s16 min(s16 a, s16 b);
|
||||||
|
|
Loading…
Reference in a new issue