mirror of
https://github.com/Oibaf66/uae-wii.git
synced 2024-11-22 10:39:19 +01:00
Don't define GEKKO for the host build
This commit is contained in:
parent
06325b4a43
commit
f85e5f192f
@ -74,7 +74,7 @@ $(BIN_DIR)/%.dol: %.elf
|
||||
# Compilation flags.
|
||||
COMMON_FLAGS := -g -Wall $(MACHDEP)
|
||||
INCLUDES := -Isrc/md-generic/ -Isrc/include -Isrc -I/usr/include/SDL
|
||||
DEFINES := -DGEKKO -DFPUEMU -DCPUEMU_0 -DCPUEMU_5 -DCPUEMU_6 -DAGA \
|
||||
DEFINES := -DFPUEMU -DCPUEMU_0 -DCPUEMU_5 -DCPUEMU_6 -DAGA \
|
||||
-DSUPPORT_THREADS -DUSE_SDL -DFDI2RAW -DDEBUGGER -DSAVESTATE \
|
||||
-DENFORCER -DACTION_REPLAY
|
||||
CFLAGS := $(COMMON_FLAGS) $(INCLUDES) $(DEFINES)
|
||||
|
@ -59,7 +59,7 @@
|
||||
#define DUMPLOCK(u,x)
|
||||
#endif
|
||||
|
||||
#if defined(GEKKOb)
|
||||
#if defined(GEKKO)
|
||||
#define R_OK 1
|
||||
static int wii_access (const char *pathname, int mode)
|
||||
{
|
||||
|
@ -135,7 +135,7 @@ char *fsdb_create_unique_nname (a_inode *base, const char *suggestion)
|
||||
for (;;) {
|
||||
int i;
|
||||
char *p = build_nname (base->nname, tmp);
|
||||
#if !defined(GEKKOb)
|
||||
#if !defined(GEKKO)
|
||||
if (access (p, R_OK) < 0 && errno == ENOENT) {
|
||||
printf ("unique name: %s\n", p);
|
||||
return p;
|
||||
|
Loading…
Reference in New Issue
Block a user