mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 01:07:51 -04:00
apple build issue
This commit is contained in:
parent
df9edbe1dd
commit
eaee7a00f8
@ -12,6 +12,15 @@
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
#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 "throw_event.h"
|
||||
@ -20,11 +29,6 @@
|
||||
#include "camera.h"
|
||||
#include "graphicsPipeSelection.h"
|
||||
|
||||
#ifdef __APPLE__
|
||||
#include <Carbon/Carbon.h>
|
||||
extern "C" { void CPSEnableForegroundOperation(ProcessSerialNumber* psn); }
|
||||
#endif
|
||||
|
||||
#ifdef WIN32
|
||||
#include <windows.h> // For SystemParametersInfo()
|
||||
STICKYKEYS g_StartupStickyKeys = {sizeof(STICKYKEYS), 0};
|
||||
|
Loading…
x
Reference in New Issue
Block a user