mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
fix HAVE_* macros for ppc
Original commit message from CVS: fix HAVE_* macros for ppc
This commit is contained in:
parent
024c51c559
commit
e1968f80ac
1 changed files with 4 additions and 1 deletions
|
@ -31,11 +31,12 @@ static guint32 _gst_cpu_flags = 0;
|
||||||
#ifdef HAVE_CPU_I386
|
#ifdef HAVE_CPU_I386
|
||||||
#define _gst_cpu_initialize_arch _gst_cpu_initialize_i386
|
#define _gst_cpu_initialize_arch _gst_cpu_initialize_i386
|
||||||
void gst_cpuid_i386 (int, unsigned long *, unsigned long *, unsigned long *, unsigned long *);
|
void gst_cpuid_i386 (int, unsigned long *, unsigned long *, unsigned long *, unsigned long *);
|
||||||
|
gboolean _gst_cpu_initialize_i386 (gulong *flags, GString *featurelist);
|
||||||
#else
|
#else
|
||||||
#define _gst_cpu_initialize_arch _gst_cpu_initialize_none
|
#define _gst_cpu_initialize_arch _gst_cpu_initialize_none
|
||||||
|
gboolean _gst_cpu_initialize_none (gulong *flags, GString *featurelist);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
gboolean _gst_cpu_initialize_i386 (gulong *flags, GString *featurelist);
|
|
||||||
|
|
||||||
void
|
void
|
||||||
_gst_cpu_initialize (gboolean opt)
|
_gst_cpu_initialize (gboolean opt)
|
||||||
|
@ -59,6 +60,7 @@ _gst_cpu_initialize_none (gulong *flags, GString *featurelist)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef HAVE_CPU_I386
|
||||||
gboolean
|
gboolean
|
||||||
_gst_cpu_initialize_i386 (gulong *flags, GString *featurelist)
|
_gst_cpu_initialize_i386 (gulong *flags, GString *featurelist)
|
||||||
{
|
{
|
||||||
|
@ -102,6 +104,7 @@ _gst_cpu_initialize_i386 (gulong *flags, GString *featurelist)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
GstCPUFlags
|
GstCPUFlags
|
||||||
gst_cpu_get_flags (void)
|
gst_cpu_get_flags (void)
|
||||||
|
|
Loading…
Reference in a new issue