mirror of
https://github.com/celisej567/source-engine.git
synced 2026-01-05 22:09:59 +03:00
Fix macOS build (#146)
* Fix macOS build * Fix *BSD build * Add missing *BSD include
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
|
||||
#include "glmgr_flush.inl"
|
||||
|
||||
#if defined(OSX) || defined(LINUX) || (defined (WIN32) && defined( DX_TO_GL_ABSTRACTION )) || defined(BSD)
|
||||
#if defined(OSX) || defined(LINUX) || (defined (WIN32) && defined( DX_TO_GL_ABSTRACTION )) || defined(PLATFORM_BSD)
|
||||
#include "appframework/ilaunchermgr.h"
|
||||
extern ILauncherMgr *g_pLauncherMgr;
|
||||
#endif
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
#include "tier1.h"
|
||||
#include "tier2/tier2.h"
|
||||
|
||||
#if (defined(_LINUX) || defined(BSD)) && !defined(__ANDROID__)
|
||||
#if (defined(_LINUX) || defined(PLATFORM_BSD)) && !defined(__ANDROID__)
|
||||
#include <GL/glx.h>
|
||||
#endif
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
#error
|
||||
#endif
|
||||
|
||||
#if defined(OSX) || defined(LINUX) || (defined (WIN32) && defined( DX_TO_GL_ABSTRACTION )) || defined(BSD)
|
||||
#if defined(OSX) || defined(LINUX) || (defined (WIN32) && defined( DX_TO_GL_ABSTRACTION )) || defined(PLATFORM_BSD)
|
||||
#include "appframework/ilaunchermgr.h"
|
||||
ILauncherMgr *g_pLauncherMgr = NULL;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user