Replace USE_LOCAL_HEADERS with USE_INTERNAL_*

This commit is contained in:
Pan7 authored and Tim Angus committed 2025-07-29 17:32:18 +01:00
1 parent 7962686d2d
commit 96fefcb7c9
14 files changed
+41 -17

No files matched your search

+1 -1
View File
@@ -24,7 +24,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include "client.h"
#ifdef USE_LOCAL_HEADERS
#ifdef USE_INTERNAL_CURL_HEADERS
#include "curl/curl.h"
#else
#include <curl/curl.h>
+1 -1
View File
@@ -33,7 +33,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#define ALC_NO_PROTOTYPES
#endif
#ifdef USE_LOCAL_HEADERS
#ifdef USE_INTERNAL_OPENAL_HEADERS
#include "AL/al.h"
#include "AL/alc.h"
#else
+1 -1
View File
@@ -10,7 +10,7 @@
#include <stdlib.h>
#include <string.h>
#ifdef USE_LOCAL_HEADERS
#ifdef USE_INTERNAL_ZLIB
#include "zlib.h"
#else
#include <zlib.h>
+1 -1
View File
@@ -49,7 +49,7 @@
extern "C" {
#endif
#ifdef USE_LOCAL_HEADERS
#ifdef USE_INTERNAL_ZLIB
#include "zlib.h"
#else
#include <zlib.h>
+1 -1
View File
@@ -26,7 +26,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#ifndef __QGL_H__
#define __QGL_H__
#ifdef USE_LOCAL_HEADERS
#ifdef USE_INTERNAL_SDL_HEADERS
# include "SDL_opengl.h"
#else
# include <SDL_opengl.h>
+1 -1
View File
@@ -21,7 +21,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
// tr_extensions.c - extensions needed by the renderer not in sdl_glimp.c
#ifdef USE_LOCAL_HEADERS
#ifdef USE_INTERNAL_SDL_HEADERS
# include "SDL.h"
#else
# include <SDL.h>
+1 -1
View File
@@ -20,7 +20,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
===========================================================================
*/
#ifdef USE_LOCAL_HEADERS
#ifdef USE_INTERNAL_SDL_HEADERS
# include "SDL.h"
#else
# include <SDL.h>
+1 -1
View File
@@ -20,7 +20,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
===========================================================================
*/
#ifdef USE_LOCAL_HEADERS
#ifdef USE_INTERNAL_SDL_HEADERS
# include "SDL.h"
#else
# include <SDL.h>
+1 -1
View File
@@ -20,7 +20,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
===========================================================================
*/
#ifdef USE_LOCAL_HEADERS
#ifdef USE_INTERNAL_SDL_HEADERS
# include "SDL.h"
#else
# include <SDL.h>
+1 -1
View File
@@ -23,7 +23,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include <stdlib.h>
#include <stdio.h>
#ifdef USE_LOCAL_HEADERS
#ifdef USE_INTERNAL_SDL_HEADERS
# include "SDL.h"
#else
# include <SDL.h>
+1 -1
View File
@@ -35,7 +35,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
# define Sys_LibraryError() dlerror()
# endif
#else
# ifdef USE_LOCAL_HEADERS
# ifdef USE_INTERNAL_SDL_HEADERS
# include "SDL.h"
# include "SDL_loadso.h"
# else
+1 -1
View File
@@ -24,7 +24,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include "../qcommon/qcommon.h"
#ifndef DEDICATED
#ifdef USE_LOCAL_HEADERS
#ifdef USE_INTERNAL_SDL_HEADERS
# include "SDL_version.h"
#else
# include <SDL_version.h>
+1 -1
View File
@@ -36,7 +36,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#endif
#ifndef DEDICATED
#ifdef USE_LOCAL_HEADERS
#ifdef USE_INTERNAL_SDL_HEADERS
# include "SDL.h"
# include "SDL_cpuinfo.h"
#else