Skip to content

Commit 9c80b2e

Browse files
committed
more MinGW work. Can't include mingw32\i686-w64-mingw32\include\float.h
1 parent 46dc5e1 commit 9c80b2e

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

src/xrCore/LocatorAPI.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ class XRCORE_API CLocatorAPI : Noncopyable
123123
using files_set = xr_set<file, file_pred>;
124124
using files_it = files_set::iterator;
125125

126-
using FFVec = xr_vector<_finddata64i32_t>;
126+
using FFVec = xr_vector<_finddata_t>;
127127
FFVec rec_files;
128128

129129
int m_iLockRescan;

src/xrCore/_math.cpp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,17 @@
44
#if defined(WINDOWS)
55
#include <intrin.h> // __rdtsc
66
#include <process.h>
7+
8+
#if defined(_MSC_VER)
79
#include <powerbase.h>
10+
#elif defined(__GNUC__)
11+
#include <float.h> // _controlfp
12+
//#include_next <float.h>
13+
//how to include mingw32\i686-w64-mingw32\include\float.h
14+
//instead of mingw32\lib\gcc\i686-w64-mingw32\7.3.0\include\float.h
15+
//?
16+
#endif
17+
818
#elif defined(LINUX)
919
#include <x86intrin.h> // __rdtsc
1020
#include <fpu_control.h>

0 commit comments

Comments
 (0)