mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 09:23:03 -04:00
apple build issue
This commit is contained in:
parent
df9edbe1dd
commit
eaee7a00f8
@ -11,6 +11,15 @@
|
|||||||
// with this source code in a file named "LICENSE."
|
// with this source code in a file named "LICENSE."
|
||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
#ifdef __APPLE__
|
||||||
|
// We have to include this before we include any Panda libraries,
|
||||||
|
// because one of the things we pick up in Panda defines a macro for
|
||||||
|
// TCP_NODELAY and friends, causing heartaches for the header files
|
||||||
|
// picked up here.
|
||||||
|
#include <Carbon/Carbon.h>
|
||||||
|
extern "C" { void CPSEnableForegroundOperation(ProcessSerialNumber* psn); }
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "showBase.h"
|
#include "showBase.h"
|
||||||
|
|
||||||
@ -19,11 +28,6 @@
|
|||||||
#include "renderBuffer.h"
|
#include "renderBuffer.h"
|
||||||
#include "camera.h"
|
#include "camera.h"
|
||||||
#include "graphicsPipeSelection.h"
|
#include "graphicsPipeSelection.h"
|
||||||
|
|
||||||
#ifdef __APPLE__
|
|
||||||
#include <Carbon/Carbon.h>
|
|
||||||
extern "C" { void CPSEnableForegroundOperation(ProcessSerialNumber* psn); }
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
#include <windows.h> // For SystemParametersInfo()
|
#include <windows.h> // For SystemParametersInfo()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user