[MN-dev] [mndiff]: r124 - trunk/noe/noe_internal.h

michael subversion at mplayerhq.hu
Mon Nov 24 23:09:05 CET 2008


Author: michael
Date: Mon Nov 24 23:09:05 2008
New Revision: 124

Log:
rename asm to __asm__ to make -std=c99 work


Modified:
   trunk/noe/noe_internal.h

Modified: trunk/noe/noe_internal.h
==============================================================================
--- trunk/noe/noe_internal.h	(original)
+++ trunk/noe/noe_internal.h	Mon Nov 24 23:09:05 2008
@@ -22,7 +22,7 @@
 static inline uint64_t rdtsc(void)
 {
     uint32_t a, d;
-    asm volatile("rdtsc\n\t"
+    __asm__ volatile("rdtsc\n\t"
                  : "=a" (a), "=d" (d));
     return ((uint64_t)d << 32) + a;
 }



More information about the Mndiff-dev mailing list