diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2005-07-06 19:48:31 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2005-07-06 19:48:31 +0000 |
commit | 5d14209a5a69687e2ce8fe94f3c39cd005c514c7 (patch) | |
tree | 4be867f80d124811db493611b7d614cc80aef7a0 /externals | |
parent | 216da4973fc523fc207d5d0f5986da227e7e6665 (diff) |
fix for 64 bit code
svn path=/trunk/; revision=3294
Diffstat (limited to 'externals')
-rw-r--r-- | externals/grill/flext/source/flcontainers.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/externals/grill/flext/source/flcontainers.h b/externals/grill/flext/source/flcontainers.h index 76442d15..ece3009e 100644 --- a/externals/grill/flext/source/flcontainers.h +++ b/externals/grill/flext/source/flcontainers.h @@ -180,8 +180,15 @@ public: :"memory", "edx");
return n;
}
-#elif defined(__GNUC__) && FLEXT_CPU == FLEXT_CPU_X86_64
+#elif 0 //defined(__GNUC__) && FLEXT_CPU == FLEXT_CPU_X86_64
/* attention - this only works for EMT64 or newer revisions of AMD 64-bit cpus */
+ #ifndef SMPLOCK
+ # ifdef __SMP__
+ # define SMPLOCK "lock ; "
+ # else
+ # define SMPLOCK ""
+ # endif
+ #endif
inline void Push(Cell *cl)
{
|