mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +00:00
gst/gstcpu.c (gst_cpuid_i386): Protect some gcc asm stuff with __GNUC__, patch from Brian Cameron, fixes bug #142804
Original commit message from CVS: * gst/gstcpu.c (gst_cpuid_i386): Protect some gcc asm stuff with __GNUC__, patch from Brian Cameron, fixes bug #142804
This commit is contained in:
parent
f1a2a8fe87
commit
9afd2f70ab
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2004-05-21 Johan Dahlin <johan@gnome.org>
|
||||
|
||||
* gst/gstcpu.c (gst_cpuid_i386): Protect some gcc asm stuff with
|
||||
__GNUC__, patch from Brian Cameron, fixes bug #142804
|
||||
|
||||
2004-05-20 David Schleef <ds@schleef.org>
|
||||
|
||||
* gst/gstindex.c: (gst_index_compare_func): Fix overflows in
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
|
||||
static guint32 _gst_cpu_flags = 0;
|
||||
|
||||
#ifdef HAVE_CPU_I386
|
||||
#if defined(HAVE_CPU_I386) && defined(__GNUC__)
|
||||
#define _gst_cpu_initialize_arch _gst_cpu_initialize_i386
|
||||
gboolean _gst_cpu_initialize_i386 (gulong * flags, GString * featurelist);
|
||||
#else
|
||||
|
@ -62,7 +62,7 @@ _gst_cpu_initialize_none (gulong * flags, GString * featurelist)
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
#ifdef HAVE_CPU_I386
|
||||
#if defined(HAVE_CPU_I386) && defined(__GNUC__)
|
||||
static void
|
||||
gst_cpuid_i386 (int x, unsigned long *eax, unsigned long *ebx,
|
||||
unsigned long *ecx, unsigned long *edx)
|
||||
|
|
Loading…
Reference in a new issue