Use __3DS__ instead of _3DS
This commit is contained in:
parent
c7425b653e
commit
a491a8eb79
2
Makefile
2
Makefile
@ -35,7 +35,7 @@ CFLAGS := -g -Wall -Wno-sizeof-array-div -Werror -mword-relocations \
|
||||
-ffunction-sections -fdata-sections \
|
||||
$(ARCH) $(BUILD_CFLAGS)
|
||||
|
||||
CFLAGS += $(INCLUDE) -DARM11 -D_3DS -DCITRO3D_BUILD
|
||||
CFLAGS += $(INCLUDE) -D__3DS__ -DCITRO3D_BUILD
|
||||
|
||||
CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++11
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#pragma once
|
||||
#ifdef _3DS
|
||||
#if defined(__3DS__) || defined(_3DS)
|
||||
#include <3ds.h>
|
||||
#else
|
||||
#include <stdbool.h>
|
||||
|
@ -47,10 +47,10 @@ ICON :=
|
||||
ARCH := -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft
|
||||
|
||||
CFLAGS := -g -Wall -O3 -mword-relocations \
|
||||
-fomit-frame-pointer -ffunction-sections \
|
||||
-ffunction-sections \
|
||||
$(ARCH)
|
||||
|
||||
CFLAGS += $(INCLUDE) -DARM11 -D_3DS
|
||||
CFLAGS += $(INCLUDE) -D__3DS__
|
||||
|
||||
CXXFLAGS := $(CFLAGS) -fno-rtti -std=gnu++11
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user