r1501 - trunk/code/qcommon
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Mon Mar 2 12:29:30 EST 2009
Author: ludwig
Date: 2009-03-02 12:29:30 -0500 (Mon, 02 Mar 2009)
New Revision: 1501
Modified:
trunk/code/qcommon/q_platform.h
Log:
qcommon: Add idsparc and set when __sparc__ && !C_ONLY
Signed-off-by: David S. Miller <davem at davemloft.net>
Modified: trunk/code/qcommon/q_platform.h
===================================================================
--- trunk/code/qcommon/q_platform.h 2009-03-02 17:29:26 UTC (rev 1500)
+++ trunk/code/qcommon/q_platform.h 2009-03-02 17:29:30 UTC (rev 1501)
@@ -29,6 +29,7 @@
#define id386 0
#define idppc 0
#define idppc_altivec 0
+#define idsparc 0
#else
@@ -58,8 +59,14 @@
#define idppc_altivec 0
#endif
+#if defined(__sparc__) && !defined(C_ONLY)
+#define idsparc 1
+#else
+#define idsparc 0
#endif
+#endif
+
#ifndef __ASM_I386__ // don't include the C bits if included from qasm.h
// for windows fastcall option
More information about the quake3-commits
mailing list