gst/gstatomic_impl.h: Enable atomic code for x86_64
authorDavid Schleef <ds@schleef.org>
Fri, 30 Jul 2004 23:32:52 +0000 (23:32 +0000)
committerDavid Schleef <ds@schleef.org>
Fri, 30 Jul 2004 23:32:52 +0000 (23:32 +0000)
Original commit message from CVS:
* gst/gstatomic_impl.h: Enable atomic code for x86_64

ChangeLog
gst/gstatomic_impl.h

index 7efc33a..3aa9de1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2004-07-30  David Schleef  <ds@schleef.org>
+
+       * gst/gstatomic_impl.h: Enable atomic code for x86_64
+
 2004-07-29  David Schleef  <ds@schleef.org>
 
        * libs/gst/dataprotocol/dataprotocol-test.c: (conversion_test):
index 2fd577d..45ad8f2 100644 (file)
@@ -38,7 +38,7 @@ G_BEGIN_DECLS
 #if defined (GST_CAN_INLINE) || defined (__GST_ATOMIC_C__)
   
 /***** Intel x86 *****/
-#if defined (HAVE_CPU_I386) && defined(__GNUC__)
+#if (defined (HAVE_CPU_I386) || defined (HAVE_CPU_X86_64)) && defined(__GNUC__)
 
 #ifdef GST_CONFIG_NO_SMP
 #define SMP_LOCK ""