File tree Expand file tree Collapse file tree 5 files changed +7
-3
lines changed Expand file tree Collapse file tree 5 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 22#include " ISpatial.h"
33#include " xrCore/_fbox.h"
44#include " xrCore/Threading/Lock.hpp"
5+ #include " SDL.h"
56#pragma warning(push)
67#pragma warning(disable : 4995)
78#include < xmmintrin.h>
Original file line number Diff line number Diff line change 77#pragma warning(pop)
88
99#include " xrCDB.h"
10+ #include " SDL.h"
1011
1112using namespace CDB ;
1213using namespace Opcode ;
Original file line number Diff line number Diff line change 2323#include < sys/time.h>
2424#include < sys/resource.h>
2525#include < chrono>
26- #include < thread>
2726#endif
27+ #include < thread>
28+ #include " SDL.h"
2829
2930typedef struct _PROCESSOR_POWER_INFORMATION
3031{
Original file line number Diff line number Diff line change 1111#include " Threading/ThreadPool.hpp"
1212#include " Math/MathUtil.hpp"
1313#include " xrCore/_std_extensions.h"
14+ #include " SDL.h"
1415
1516#pragma comment(lib, "winmm.lib")
1617
Original file line number Diff line number Diff line change @@ -206,7 +206,7 @@ IC void xr_strlwr(shared_str& src)
206206 int i = 0 ;
207207 while (lp[i])
208208 {
209- lp[i] = (char ) std::toupper (lp[i], std::locale ());
209+ lp[i] = (char ) std::tolower (lp[i], std::locale ());
210210 i++;
211211 }
212212#endif
@@ -220,7 +220,7 @@ IC char * xr_strlwr(char * src)
220220 int i = 0 ;
221221 while (src[i])
222222 {
223- src[i] = (char ) toupper (src[i]);// TODO rewrite locale-independent toupper_l()
223+ src[i] = (char ) tolower (src[i]);// TODO rewrite locale-independent toupper_l()
224224 i++;
225225 }
226226 return src;
You can’t perform that action at this time.
0 commit comments