Ticket #33450: patch-src-xml.cpp.diff

File patch-src-xml.cpp.diff, 519 bytes (added by mklein-de (Michael Klein), 13 years ago)

xml.cpp: add missing HAVE_ASM_CPUID check

  • src/xml.cpp

    old new  
    440440
    441441void xml::cpuid(uint32_t op, unsigned long *eax, unsigned long *ebx,
    442442                unsigned long *ecx, unsigned long *edx) {
     443#if HAVE_ASM_CPUID
    443444#if defined(__i386__) && defined(__PIC__)
    444445    __asm__ __volatile__("pushl %%ebx      \n\t" /* save %ebx */
    445446                         "cpuid            \n\t"
     
    455456                         : "cc");
    456457
    457458#endif
     459#endif
    458460}
    459461
    460462