diff --git a/vm/cpu-x86.32.S b/vm/cpu-x86.32.S old mode 100644 new mode 100755 index 3e7e5c20e1..d903f8013d --- a/vm/cpu-x86.32.S +++ b/vm/cpu-x86.32.S @@ -51,3 +51,8 @@ DEF(bool,check_sse2,(void)): ret #include "cpu-x86.S" + +#ifdef WINDOWS + .section .drectve + .ascii " -export:check_sse2" +#endif diff --git a/vm/cpu-x86.32.h b/vm/cpu-x86.32.h old mode 100644 new mode 100755 index 1d516c4703..21f07cf2b4 --- a/vm/cpu-x86.32.h +++ b/vm/cpu-x86.32.h @@ -4,5 +4,3 @@ register CELL ds asm("esi"); register CELL rs asm("edi"); #define F_FASTCALL __attribute__ ((regparm (2))) - -DLLEXPORT bool check_sse2(void);