mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 07:21:58 +00:00
sync'ed arch_defs.h and filenames.h with uhexen2 tree (for sake of symmetry.)
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1363 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
219a137593
commit
6e1aa25e78
2 changed files with 10 additions and 10 deletions
|
@ -6,7 +6,7 @@
|
||||||
* - shouldn't depend on compiler.h, q_stdinc.h, or
|
* - shouldn't depend on compiler.h, q_stdinc.h, or
|
||||||
* any other headers
|
* any other headers
|
||||||
*
|
*
|
||||||
* Copyright (C) 2007-2012 O.Sezer <sezero@users.sourceforge.net>
|
* Copyright (C) 2007-2016 O.Sezer <sezero@users.sourceforge.net>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
@ -24,11 +24,11 @@
|
||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __ARCH_DEFS__
|
#ifndef ARCHDEFS_H
|
||||||
#define __ARCH_DEFS__
|
#define ARCHDEFS_H
|
||||||
|
|
||||||
|
|
||||||
#if defined(__DJGPP__) || defined(MSDOS) || defined(__MSDOS__) || defined(__DOS__)
|
#if defined(__DJGPP__) || defined(__MSDOS__) || defined(__DOS__) || defined(_MSDOS)
|
||||||
|
|
||||||
# if !defined(PLATFORM_DOS)
|
# if !defined(PLATFORM_DOS)
|
||||||
# define PLATFORM_DOS 1
|
# define PLATFORM_DOS 1
|
||||||
|
@ -40,7 +40,7 @@
|
||||||
# define PLATFORM_OS2 1
|
# define PLATFORM_OS2 1
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
#elif defined(_WIN32) || defined(_WIN64)
|
#elif defined(_WIN32) || defined(__WIN32__) || defined(_WIN64) || defined(__NT__) || defined(_Windows)
|
||||||
|
|
||||||
# if !defined(PLATFORM_WINDOWS)
|
# if !defined(PLATFORM_WINDOWS)
|
||||||
# define PLATFORM_WINDOWS 1
|
# define PLATFORM_WINDOWS 1
|
||||||
|
@ -166,5 +166,5 @@
|
||||||
# warning "Platform is UNKNOWN."
|
# warning "Platform is UNKNOWN."
|
||||||
#endif /* PLATFORM_STRING */
|
#endif /* PLATFORM_STRING */
|
||||||
|
|
||||||
#endif /* __ARCH_DEFS__ */
|
#endif /* ARCHDEFS_H */
|
||||||
|
|
||||||
|
|
|
@ -30,9 +30,10 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
/* ---------------------- Windows, DOS, OS2: ---------------------- */
|
/* ---------------------- Windows, DOS, OS2: ---------------------- */
|
||||||
#if defined(__MSDOS__) || defined(MSDOS) || defined(__DOS__) || \
|
#if defined(__MSDOS__) || defined(__DOS__) || defined(__DJGPP__) || \
|
||||||
defined(__DJGPP__) || defined(__OS2__) || defined(__EMX__) || \
|
defined(_MSDOS) || defined(__OS2__) || defined(__EMX__) || \
|
||||||
defined(_WIN32) || defined(__CYGWIN__)
|
defined(_WIN32) || defined(_Windows) || defined(__WINDOWS__) || \
|
||||||
|
defined(__NT__) || defined(__CYGWIN__)
|
||||||
|
|
||||||
#define HAVE_DOS_BASED_FILE_SYSTEM 1
|
#define HAVE_DOS_BASED_FILE_SYSTEM 1
|
||||||
#define HAVE_CASE_INSENSITIVE_FILE_SYSTEM 1
|
#define HAVE_CASE_INSENSITIVE_FILE_SYSTEM 1
|
||||||
|
@ -190,4 +191,3 @@ static inline char *FIND_LAST_DIRSEP (const char *_the_path) {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* FILENAMES_H */
|
#endif /* FILENAMES_H */
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue