diff options
author | David Schleef <ds@schleef.org> | 2009-12-01 18:09:04 -0800 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2009-12-01 18:09:35 -0800 |
commit | b0889cf2a1de6e4ceca0f70d6f89d6843ce6f2c4 (patch) | |
tree | 055ef8890024ee8295c195e41ddb592108266ccb | |
parent | 44526720017c404551e3cbb8c263556a338c88d8 (diff) |
Make gcc inline assembly conditional on gcc
-rw-r--r-- | gst/gsttrace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/gsttrace.c b/gst/gsttrace.c index b2762205d6..29f498707a 100644 --- a/gst/gsttrace.c +++ b/gst/gsttrace.c @@ -74,7 +74,7 @@ static void read_tsc (gint64 * dst) { -#ifdef HAVE_RDTSC +#if defined(HAVE_RDTSC) && defined(__GNUC__) guint64 tsc; __asm__ __volatile__ ("rdtsc":"=A" (tsc)); |