mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-11 18:50:46 +00:00
Wii: Fix build.
git-svn-id: https://svn.eduke32.com/eduke32@3494 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
3b2eb2a214
commit
75e5cebfff
5 changed files with 5 additions and 8 deletions
|
@ -199,11 +199,6 @@ ifeq ($(SUBPLATFORM),LINUX)
|
||||||
LIBS += -lFLAC -lvorbisfile -lvorbis -logg
|
LIBS += -lFLAC -lvorbisfile -lvorbis -logg
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(PLATFORM),WII)
|
|
||||||
LIBS += -lvorbisidec -lfreetype -lfat -lwiiuse -lbte -logc -lm -lwiikeyboard
|
|
||||||
LIBDIRS += -L$(LIBOGC_LIB) -L$(PORTLIBS)/lib
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(PLATFORM),DARWIN)
|
ifeq ($(PLATFORM),DARWIN)
|
||||||
OURCOMMONFLAGS += -fno-pic
|
OURCOMMONFLAGS += -fno-pic
|
||||||
LIBDIRS += -L$(abspath $(JAUDIOLIBDIR)/third-party/Apple/lib)
|
LIBDIRS += -L$(abspath $(JAUDIOLIBDIR)/third-party/Apple/lib)
|
||||||
|
|
|
@ -147,7 +147,8 @@ ifeq ($(PLATFORM),WII)
|
||||||
-DGEKKO -DHAVE_INTTYPES -D__POWERPC__ \
|
-DGEKKO -DHAVE_INTTYPES -D__POWERPC__ \
|
||||||
-I$(LIBOGC_INC) -I$(LIBOGC_INC)/SDL -I$(PORTLIBS)/include
|
-I$(LIBOGC_INC) -I$(LIBOGC_INC)/SDL -I$(PORTLIBS)/include
|
||||||
SDLCONFIG=
|
SDLCONFIG=
|
||||||
BUILDLIBS+= -lSDL_mixer -lsmpeg -lSDL -laesnd
|
BUILDLIBS+= -lSDL_mixer -lsmpeg -lSDL -laesnd -lvorbisidec -lfreetype -lfat -lwiiuse -lbte -logc -lm -lwiikeyboard
|
||||||
|
BUILDLIBDIRS += -L$(LIBOGC_LIB) -L$(PORTLIBS)/lib
|
||||||
endif
|
endif
|
||||||
ifeq ($(PLATFORM),QNX)
|
ifeq ($(PLATFORM),QNX)
|
||||||
RENDERTYPE=SDL
|
RENDERTYPE=SDL
|
||||||
|
|
|
@ -28,7 +28,7 @@ Minimum required SDL versions:
|
||||||
|
|
||||||
#if defined(_NEED_SDLMIXER)
|
#if defined(_NEED_SDLMIXER)
|
||||||
# if defined(SDL_FRAMEWORK)
|
# if defined(SDL_FRAMEWORK)
|
||||||
# if defined(_WIN32)
|
# if defined(_WIN32) || defined(GEKKO)
|
||||||
# include <SDL/SDL_mixer.h>
|
# include <SDL/SDL_mixer.h>
|
||||||
# else
|
# else
|
||||||
# include <SDL_mixer/SDL_mixer.h>
|
# include <SDL_mixer/SDL_mixer.h>
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
# define setsockopt net_setsockopt
|
# define setsockopt net_setsockopt
|
||||||
# define accept net_accept
|
# define accept net_accept
|
||||||
# define select net_select
|
# define select net_select
|
||||||
|
# define shutdown net_shutdown
|
||||||
struct msghdr {
|
struct msghdr {
|
||||||
void *msg_name; /* optional address */
|
void *msg_name; /* optional address */
|
||||||
socklen_t msg_namelen; /* size of address */
|
socklen_t msg_namelen; /* size of address */
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
|
|
||||||
#if defined(SDL_FRAMEWORK)
|
#if defined(SDL_FRAMEWORK)
|
||||||
# include <SDL/SDL.h>
|
# include <SDL/SDL.h>
|
||||||
# if defined(_WIN32)
|
# if defined(_WIN32) || defined(GEKKO)
|
||||||
# include <SDL/SDL_mixer.h>
|
# include <SDL/SDL_mixer.h>
|
||||||
# else
|
# else
|
||||||
# include <SDL_mixer/SDL_mixer.h>
|
# include <SDL_mixer/SDL_mixer.h>
|
||||||
|
|
Loading…
Reference in a new issue