More fixes for MinGW
This commit is contained in:
parent
f55adc4ec5
commit
954a45bc75
|
@ -47,7 +47,7 @@ bool fileFindNext(DirectoryFileFindData* findData)
|
|||
// 0x4E63CC
|
||||
bool findFindClose(DirectoryFileFindData* findData)
|
||||
{
|
||||
#if defined(_MSC_VER)
|
||||
#if defined(_MSC_VER) || defined(__MINGW32__)
|
||||
FindClose(findData->hFind);
|
||||
#else
|
||||
if (closedir(findData->dir) != 0) {
|
||||
|
|
|
@ -9,6 +9,9 @@
|
|||
// 0x4E08A0
|
||||
bool mmxIsSupported()
|
||||
{
|
||||
#if defined(__MINGW32__)
|
||||
return false;
|
||||
#else
|
||||
int v1;
|
||||
|
||||
// TODO: There are other ways to determine MMX using FLAGS register.
|
||||
|
@ -22,6 +25,7 @@ bool mmxIsSupported()
|
|||
}
|
||||
|
||||
return v1 != 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
// 0x4E0DB0
|
||||
|
|
Loading…
Reference in New Issue