mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 02:30: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
|
||||
endif
|
||||
|
||||
ifeq ($(PLATFORM),WII)
|
||||
LIBS += -lvorbisidec -lfreetype -lfat -lwiiuse -lbte -logc -lm -lwiikeyboard
|
||||
LIBDIRS += -L$(LIBOGC_LIB) -L$(PORTLIBS)/lib
|
||||
endif
|
||||
|
||||
ifeq ($(PLATFORM),DARWIN)
|
||||
OURCOMMONFLAGS += -fno-pic
|
||||
LIBDIRS += -L$(abspath $(JAUDIOLIBDIR)/third-party/Apple/lib)
|
||||
|
|
|
@ -147,7 +147,8 @@ ifeq ($(PLATFORM),WII)
|
|||
-DGEKKO -DHAVE_INTTYPES -D__POWERPC__ \
|
||||
-I$(LIBOGC_INC) -I$(LIBOGC_INC)/SDL -I$(PORTLIBS)/include
|
||||
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
|
||||
ifeq ($(PLATFORM),QNX)
|
||||
RENDERTYPE=SDL
|
||||
|
|
|
@ -28,7 +28,7 @@ Minimum required SDL versions:
|
|||
|
||||
#if defined(_NEED_SDLMIXER)
|
||||
# if defined(SDL_FRAMEWORK)
|
||||
# if defined(_WIN32)
|
||||
# if defined(_WIN32) || defined(GEKKO)
|
||||
# include <SDL/SDL_mixer.h>
|
||||
# else
|
||||
# include <SDL_mixer/SDL_mixer.h>
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
# define setsockopt net_setsockopt
|
||||
# define accept net_accept
|
||||
# define select net_select
|
||||
# define shutdown net_shutdown
|
||||
struct msghdr {
|
||||
void *msg_name; /* optional address */
|
||||
socklen_t msg_namelen; /* size of address */
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
#if defined(SDL_FRAMEWORK)
|
||||
# include <SDL/SDL.h>
|
||||
# if defined(_WIN32)
|
||||
# if defined(_WIN32) || defined(GEKKO)
|
||||
# include <SDL/SDL_mixer.h>
|
||||
# else
|
||||
# include <SDL_mixer/SDL_mixer.h>
|
||||
|
|
Loading…
Reference in a new issue