Browse Source

Try fixing compilation.

Michael Ragazzon 5 years ago
parent
commit
e38f78fbe6
2 changed files with 2 additions and 0 deletions
  1. 1 0
      Include/RmlUi/Core/Types.h
  2. 1 0
      Source/Core/Pool.h

+ 1 - 0
Include/RmlUi/Core/Types.h

@@ -61,6 +61,7 @@ namespace Core {
 using byte = unsigned char;
 using byte = unsigned char;
 using Time = double;
 using Time = double;
 using ScriptObject = void*;
 using ScriptObject = void*;
+using std::size_t;
 
 
 // Unicode code point
 // Unicode code point
 enum class Character : char32_t { Null, Replacement = 0xfffd };
 enum class Character : char32_t { Null, Replacement = 0xfffd };

+ 1 - 0
Source/Core/Pool.h

@@ -32,6 +32,7 @@
 #include "../../Include/RmlUi/Core/Header.h"
 #include "../../Include/RmlUi/Core/Header.h"
 #include "../../Include/RmlUi/Core/Debug.h"
 #include "../../Include/RmlUi/Core/Debug.h"
 #include "../../Include/RmlUi/Core/Traits.h"
 #include "../../Include/RmlUi/Core/Traits.h"
+#include "../../Include/RmlUi/Core/Types.h"
 
 
 namespace Rml {
 namespace Rml {
 namespace Core {
 namespace Core {