mirror of
https://github.com/yquake2/rogue.git
synced 2025-02-17 01:21:06 +00:00
Merge pull request #1 from DrItanium/ia64
Added Itanium Support and fixed some missing platform checks
This commit is contained in:
commit
cb3d6ac56a
2 changed files with 9 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -33,7 +33,7 @@ endif
|
||||||
|
|
||||||
# Refuse all other platforms as a firewall against PEBKAC
|
# Refuse all other platforms as a firewall against PEBKAC
|
||||||
# (You'll need some #ifdef for your unsupported plattform!)
|
# (You'll need some #ifdef for your unsupported plattform!)
|
||||||
ifeq ($(findstring $(ARCH), i386 x86_64 sparc64),)
|
ifeq ($(findstring $(ARCH), i386 x86_64 sparc64 ia64),)
|
||||||
$(error arch $(ARCH) is currently not supported)
|
$(error arch $(ARCH) is currently not supported)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
@ -66,6 +66,10 @@
|
||||||
*/
|
*/
|
||||||
#if defined(__FreeBSD__)
|
#if defined(__FreeBSD__)
|
||||||
#define OS "FreeBSD"
|
#define OS "FreeBSD"
|
||||||
|
#elif defined(__APPLE__)
|
||||||
|
#define OS "MacOS X"
|
||||||
|
#elif defined(__OpenBSD__)
|
||||||
|
#define OS "OpenBSD"
|
||||||
#elif defined(__linux__)
|
#elif defined(__linux__)
|
||||||
#define OS "Linux"
|
#define OS "Linux"
|
||||||
#elif defined(_WIN32)
|
#elif defined(_WIN32)
|
||||||
|
@ -78,6 +82,10 @@
|
||||||
#define ARCH "i386"
|
#define ARCH "i386"
|
||||||
#elif defined(__x86_64__)
|
#elif defined(__x86_64__)
|
||||||
#define ARCH "amd64"
|
#define ARCH "amd64"
|
||||||
|
#elif defined(__sparc__)
|
||||||
|
#define ARCH "sparc64"
|
||||||
|
#elif defined(__ia64__)
|
||||||
|
#define ARCH "ia64"
|
||||||
#else
|
#else
|
||||||
#define ARCH "unknown"
|
#define ARCH "unknown"
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue