mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-03-05 18:07:01 +00:00
Avoid using IS_LINUX. Use plain __linux__.
This commit is contained in:
parent
ebd5bc85d5
commit
3f613882a3
2
Makefile
2
Makefile
@ -49,7 +49,6 @@ endif
|
||||
|
||||
ifneq ($(findstring Linux,$(OS)),)
|
||||
LIBS += -lrt
|
||||
DEFINES += -DIS_LINUX
|
||||
OBJ += input/linuxraw_input.o
|
||||
endif
|
||||
|
||||
@ -135,7 +134,6 @@ ifeq ($(SCALER_NO_SIMD), 1)
|
||||
endif
|
||||
ifeq ($(SCALER_PERF), 1)
|
||||
DEFINES += -DSCALER_PERF
|
||||
LIBS += -lrt
|
||||
endif
|
||||
|
||||
ifeq ($(HAVE_X11), 1)
|
||||
|
@ -65,6 +65,9 @@ ifeq ($(HAVE_SDL), 1)
|
||||
OBJ += gfx/scaler/scaler.o gfx/scaler/pixconv.o gfx/scaler/scaler_int.o gfx/scaler/filter.o
|
||||
LIBS += -lSDL
|
||||
DEFINES += -ISDL -DHAVE_SDL
|
||||
ifeq ($(SCALER_NO_SIMD), 1)
|
||||
DEFINES += -DSCALER_NO_SIMD
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(HAVE_THREADS), 1)
|
||||
|
2
driver.c
2
driver.c
@ -125,7 +125,7 @@ static const input_driver_t *input_drivers[] = {
|
||||
#ifdef GEKKO
|
||||
&input_gx,
|
||||
#endif
|
||||
#ifdef IS_LINUX
|
||||
#ifdef __linux__
|
||||
&input_linuxraw,
|
||||
#endif
|
||||
&input_null,
|
||||
|
@ -35,7 +35,7 @@
|
||||
#include <ogc/lwp_watchdog.h>
|
||||
#endif
|
||||
|
||||
#if IS_LINUX
|
||||
#ifdef __linux__
|
||||
#include <unistd.h>
|
||||
#include <errno.h>
|
||||
#include <sys/wait.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user