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 #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)