]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sys_shared.c
Improve clang support. Add tcc support. Clang builds now perform as good as gcc
[xonotic/darkplaces.git] / sys_shared.c
index d6081605f701b596ac716b65750cd70d1afc74f9..81e25e006bb7045b4a1dcf795aaf01adce8bee64 100644 (file)
@@ -534,7 +534,7 @@ void Sys_ProvideSelfFD(void)
 static int CPUID_Features(void)
 {
        int features = 0;
-# if defined(__GNUC__) && defined(__i386__)
+# if defined((__GNUC__) || (__clang__) || (__TINYC__)) && defined(__i386__)
         __asm__ (
 "        movl    %%ebx,%%edi\n"
 "        xorl    %%eax,%%eax                                           \n"