mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 07:21:58 +00:00
arch_def.h: update from uhexen2.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@932 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
b99a7ea72a
commit
93cff46ed7
1 changed files with 13 additions and 5 deletions
|
@ -34,6 +34,12 @@
|
|||
# define PLATFORM_DOS 1
|
||||
# endif
|
||||
|
||||
#elif defined(__OS2__) || defined(__EMX__)
|
||||
|
||||
# if !defined(PLATFORM_OS2)
|
||||
# define PLATFORM_OS2 1
|
||||
# endif
|
||||
|
||||
#elif defined(_WIN32) || defined(_WIN64)
|
||||
|
||||
# if !defined(PLATFORM_WINDOWS)
|
||||
|
@ -52,9 +58,9 @@
|
|||
# define PLATFORM_MAC 1
|
||||
# endif
|
||||
|
||||
#elif defined(__MORPHOS__) || defined(__AROS__) || \
|
||||
defined(__amigaos__) || defined(__amigaos4__) || \
|
||||
defined(__amigados__) || defined(__AMIGA) || defined(__AMIGA__)
|
||||
#elif defined(__MORPHOS__) || defined(__AROS__) || defined(AMIGAOS) || \
|
||||
defined(__amigaos__) || defined(__amigados__) || \
|
||||
defined(AMIGA) || defined(_AMIGA) || defined(__AMIGA__)
|
||||
|
||||
# if !defined(PLATFORM_AMIGA)
|
||||
# define PLATFORM_AMIGA 1
|
||||
|
@ -83,7 +89,7 @@
|
|||
# endif
|
||||
#endif
|
||||
|
||||
#endif /* end of PLATFORM_ definitions */
|
||||
#endif /* PLATFORM_xxx */
|
||||
|
||||
|
||||
#if defined (PLATFORM_OSX) /* OS X is unix-based */
|
||||
|
@ -108,6 +114,8 @@
|
|||
# define PLATFORM_STRING "Windows"
|
||||
#elif defined(PLATFORM_DOS)
|
||||
# define PLATFORM_STRING "DOS"
|
||||
#elif defined(PLATFORM_OS2)
|
||||
# define PLATFORM_STRING "OS/2"
|
||||
#elif defined(__linux__) || defined(__linux)
|
||||
# define PLATFORM_STRING "Linux"
|
||||
#elif defined(__DragonFly__)
|
||||
|
@ -147,7 +155,7 @@
|
|||
#else
|
||||
# define PLATFORM_STRING "Unknown"
|
||||
# warning "Platform is UNKNOWN."
|
||||
#endif /* end of PLATFORM_STRING definitions */
|
||||
#endif /* PLATFORM_STRING */
|
||||
|
||||
#endif /* __ARCH_DEFS__ */
|
||||
|
||||
|
|
Loading…
Reference in a new issue