mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-02 02:52:30 +02:00
Remove MACOSX define, now use __APPLE__
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@311 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
1a2e350158
commit
35fdbdc360
@ -23,7 +23,7 @@
|
||||
#endif
|
||||
#include "GLInit.h"
|
||||
|
||||
#ifdef MACOSX
|
||||
#if defined(__APPLE__)
|
||||
#include "SDL.h"
|
||||
#endif
|
||||
|
||||
|
@ -40,7 +40,7 @@
|
||||
//#include <GL/glew.h>
|
||||
#include <GL/glxew.h>
|
||||
|
||||
#ifdef MACOSX
|
||||
#if defined(__APPLE__)
|
||||
|
||||
#include <OpenGL/gl.h>
|
||||
|
||||
|
@ -25,7 +25,7 @@ files = ["BPStructs.cpp",
|
||||
"GUI/ConfigDlg.cpp",
|
||||
]
|
||||
if sys.platform == 'darwin':
|
||||
gfxenv=env.Copy(CXXFLAGS = " -DMACOSX=1 `sdl-config --cflags` `wx-config --cppflags` -I/opt/local/include ", LINKFLAGS = " -framework OpenGL -framework Cg `sdl-config --libs` `wx-config --libs` -L/opt/local/lib ")
|
||||
gfxenv=env.Copy(CXXFLAGS = " `sdl-config --cflags` `wx-config --cppflags` -I/opt/local/include ", LINKFLAGS = " -framework OpenGL -framework Cg `sdl-config --libs` `wx-config --libs` -L/opt/local/lib ")
|
||||
gfxenv.SharedLibrary("../../../../Binary/mac/Plugins/zeroogl.so", files, LIBS=["videocommon", "common", "GLEW", "jpeg"])
|
||||
else:
|
||||
gfxenv=env.Copy(CXXFLAGS = " `wx-config --cppflags` `pkg-config --cflags xxf86vm` ", LINKFLAGS = "`wx-config --libs` `pkg-config --libs xxf86vm` ")
|
||||
|
@ -21,7 +21,7 @@
|
||||
#include "OS\Win32.h"
|
||||
#endif
|
||||
|
||||
#ifdef MACOSX
|
||||
#if defined(__APPLE__)
|
||||
#include "SDL.h"
|
||||
#endif
|
||||
|
||||
|
@ -21,7 +21,7 @@
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
#ifdef MACOSX
|
||||
#if defined(__APPLE__)
|
||||
|
||||
#include <OpenGL/gl.h>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user