Fixed compiler error: also check for __PIC__ define for compilers that only use the uppercase version.

git-svn-id: http://voip.null.ro/svn/yate@4974 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
oana 2012-03-23 12:50:42 +00:00
parent 35032fc597
commit a5e5ae88dc
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ int GetCPUInfoNoASM(CPUFeature feature) {
#if defined(WEBRTC_ARCH_X86_FAMILY)
#ifndef _MSC_VER
// Intrinsic for "cpuid".
#if defined(__pic__) && defined(__i386__)
#if (defined(__pic__) || defined(__PIC__)) && defined(__i386__)
static inline void __cpuid(int cpu_info[4], int info_type) {
__asm__ volatile (
"mov %%ebx, %%edi\n"