From 5d14209a5a69687e2ce8fe94f3c39cd005c514c7 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Wed, 6 Jul 2005 19:48:31 +0000 Subject: fix for 64 bit code svn path=/trunk/; revision=3294 --- externals/grill/flext/source/flcontainers.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'externals/grill') 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) { -- cgit v1.2.1