aboutsummaryrefslogtreecommitdiffstats
path: root/code/qcommon/vm_interpreted.c
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-11-04 22:32:00 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-11-04 22:32:00 +0000
commit11e5099eb7abb2e016527795ffd32c5094e5324f (patch)
tree3de0470c8544b681df252ad1c5e3724320b54d9c /code/qcommon/vm_interpreted.c
parent657f95c6a5d8a24df0c1a206eb32f54985c7b4fe (diff)
downloadioquake3-aero-11e5099eb7abb2e016527795ffd32c5094e5324f.tar.gz
ioquake3-aero-11e5099eb7abb2e016527795ffd32c5094e5324f.zip
* Replaced a bunch of inline and __inline with ID_INLINE
* Replaced a bunch of __i386__ with id386 * General tidy up of asm preprocessor decisions * Removed C_ONLY from the dedicated server build git-svn-id: svn://svn.icculus.org/quake3/trunk@269 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/qcommon/vm_interpreted.c')
-rw-r--r--code/qcommon/vm_interpreted.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/code/qcommon/vm_interpreted.c b/code/qcommon/vm_interpreted.c
index 4359125..1d180aa 100644
--- a/code/qcommon/vm_interpreted.c
+++ b/code/qcommon/vm_interpreted.c
@@ -114,7 +114,7 @@ static char *opnames[256] = {
#if idppc
#if defined(__GNUC__)
- static inline unsigned int loadWord(void *addr) {
+ static ID_INLINE unsigned int loadWord(void *addr) {
unsigned int word;
asm("lwbrx %0,0,%1" : "=r" (word) : "r" (addr));
@@ -124,7 +124,7 @@ static char *opnames[256] = {
#define loadWord(addr) __lwbrx(addr,0)
#endif
#else
- static inline int loadWord(void *addr) {
+ static ID_INLINE int loadWord(void *addr) {
int word;
memcpy(&word, addr, 4);
return LittleLong(word);