fix HAVE_* macros for ppc

Original commit message from CVS:
fix HAVE_* macros for ppc
This commit is contained in:
Benjamin Otte 2003-06-14 18:00:13 +00:00
parent 024c51c559
commit e1968f80ac

View file

@ -31,11 +31,12 @@ static guint32 _gst_cpu_flags = 0;
#ifdef HAVE_CPU_I386
#define _gst_cpu_initialize_arch _gst_cpu_initialize_i386
void gst_cpuid_i386 (int, unsigned long *, unsigned long *, unsigned long *, unsigned long *);
gboolean _gst_cpu_initialize_i386 (gulong *flags, GString *featurelist);
#else
#define _gst_cpu_initialize_arch _gst_cpu_initialize_none
gboolean _gst_cpu_initialize_none (gulong *flags, GString *featurelist);
#endif
gboolean _gst_cpu_initialize_i386 (gulong *flags, GString *featurelist);
void
_gst_cpu_initialize (gboolean opt)
@ -59,6 +60,7 @@ _gst_cpu_initialize_none (gulong *flags, GString *featurelist)
return FALSE;
}
#ifdef HAVE_CPU_I386
gboolean
_gst_cpu_initialize_i386 (gulong *flags, GString *featurelist)
{
@ -102,6 +104,7 @@ _gst_cpu_initialize_i386 (gulong *flags, GString *featurelist)
return TRUE;
return FALSE;
}
#endif
GstCPUFlags
gst_cpu_get_flags (void)