all repos — mgba @ 657bcec87942b5583c983a1d375bc3c5dd3f8a4e

mGBA Game Boy Advance Emulator

SDL: Fix Windows build
Jeffrey Pfau jeffrey@endrift.com
Tue, 21 Apr 2015 02:27:54 -0700
commit

657bcec87942b5583c983a1d375bc3c5dd3f8a4e

parent

d0a332ffd4bcc238f89d042c770d841ef1166039

2 files changed, 4 insertions(+), 4 deletions(-)

jump to
M src/gba/bios.csrc/gba/bios.c

@@ -10,10 +10,6 @@ #include "gba/io.h"

#include "gba/memory.h" #include "isa-inlines.h" -#ifndef M_PI -#define M_PI 3.141592654f -#endif - const uint32_t GBA_BIOS_CHECKSUM = 0xBAAE187F; const uint32_t GBA_DS_BIOS_CHECKSUM = 0xBAAE1880;
M src/util/common.hsrc/util/common.h

@@ -23,4 +23,8 @@ #include <unistd.h>

#define UNUSED(V) (void)(V) +#ifndef M_PI +#define M_PI 3.141592654f +#endif + #endif