Fix bad __LINUX__ checks

This commit is contained in:
Louis Gombert 2024-06-23 16:15:16 +02:00
parent 79a59f25e4
commit 5d413b9f30
2 changed files with 2 additions and 4 deletions

View File

@ -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

View File

@ -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;