mirror of
https://github.com/kevinbentley/Descent3.git
synced 2025-01-22 11:28:56 +00:00
Fix bad __LINUX__ checks
This commit is contained in:
parent
79a59f25e4
commit
5d413b9f30
@ -70,7 +70,7 @@
|
||||
|
||||
#include <cstdlib>
|
||||
#include <cctype>
|
||||
#ifdef __LINUX___
|
||||
#ifdef __LINUX__
|
||||
#include <sys/time.h>
|
||||
#include <term.h>
|
||||
#include <termios.h>
|
||||
@ -85,7 +85,7 @@
|
||||
#undef buttons
|
||||
#endif
|
||||
|
||||
#ifdef __LINUX___
|
||||
#ifdef __LINUX__
|
||||
static struct termios Linux_initial_terminal_settings;
|
||||
#endif
|
||||
|
||||
|
@ -217,7 +217,6 @@ DYNAEXTERN(glBlitFramebufferEXT_fp, dglBlitFramebufferEXT);
|
||||
#ifdef DECLARE_OPENGL
|
||||
static module OpenGLDLLInst;
|
||||
|
||||
#ifdef __LINUX__
|
||||
static void *__SDL_mod_GetSymbol(const char *funcStr) {
|
||||
void *retVal = NULL;
|
||||
|
||||
@ -238,7 +237,6 @@ static void *__SDL_mod_GetSymbol(const char *funcStr) {
|
||||
#define mod_GetSymbol(x, funcStr, y) __SDL_mod_GetSymbol(funcStr)
|
||||
/****************** WARNING: NASTY HACK! ***********************/
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef __LINUX__
|
||||
extern char *__orig_pwd;
|
||||
|
Loading…
Reference in New Issue
Block a user