... | ... |
@@ -25,6 +25,9 @@ |
25 | 25 |
whether floating point little endian or big endian(IEEE-754) is in effect. */ |
26 | 26 |
int get_fpu_endian(void) |
27 | 27 |
{ |
28 |
+#ifdef _WIN32 |
|
29 |
+ return FPU_ENDIAN_LITTLE; |
|
30 |
+#else |
|
28 | 31 |
char * fpu_le = "elleemme"; |
29 | 32 |
char * fpu_be = "emmeelle"; |
30 | 33 |
static union sd { |
... | ... |
@@ -44,4 +47,5 @@ int get_fpu_endian(void) |
44 | 44 |
u_md.mem[4], u_md.mem[5], u_md.mem[6], u_md.mem[7]); |
45 | 45 |
} |
46 | 46 |
return FPU_ENDIAN_UNKNOWN; |
47 |
+#endif |
|
47 | 48 |
} |
... | ... |
@@ -173,6 +173,7 @@ |
173 | 173 |
<ClCompile Include="..\libclamav\7z\XzCrc64.c" /> |
174 | 174 |
<ClCompile Include="..\libclamav\7z\XzDec.c" /> |
175 | 175 |
<ClCompile Include="..\libclamav\7z\XzIn.c" /> |
176 |
+ <ClCompile Include="..\libclamav\fpu.c" /> |
|
176 | 177 |
<ClCompile Include="..\libclamav\sf_base64decode.c" /> |
177 | 178 |
<ClCompile Include="..\libclamav\tomsfastmath\mul\fp_mul_comba_small_set.c" /> |
178 | 179 |
<ClCompile Include="..\libclamav\tomsfastmath\mul\fp_mul_comba_9.c" /> |
... | ... |
@@ -870,5 +870,8 @@ |
870 | 870 |
<ClCompile Include="..\libclamav\7z\XzIn.c"> |
871 | 871 |
<Filter>Source Files\7z</Filter> |
872 | 872 |
</ClCompile> |
873 |
+ <ClCompile Include="..\libclamav\fpu.c"> |
|
874 |
+ <Filter>Source Files</Filter> |
|
875 |
+ </ClCompile> |
|
873 | 876 |
</ItemGroup> |
874 | 877 |
</Project> |
875 | 878 |
\ No newline at end of file |