Browse Source

Use stdint.h instead of cstdint since the latter requires c++11

Daniele Bartolini 12 years ago
parent
commit
7002fa3011

+ 2 - 1
tools/compilers/Compiler.h

@@ -28,7 +28,8 @@ OTHER DEALINGS IN THE SOFTWARE.
 
 
 #include <string>
 #include <string>
 #include <fstream>
 #include <fstream>
-#include <cstdint>
+
+#include "Types.h"
 
 
 namespace crown
 namespace crown
 {
 {

+ 1 - 1
tools/core/Types.h

@@ -27,4 +27,4 @@ OTHER DEALINGS IN THE SOFTWARE.
 #pragma once
 #pragma once
 
 
 #include <cstddef>
 #include <cstddef>
-#include <cstdint>
+#include <stdint.h>

+ 2 - 0
tools/core/formats/ResourceFormat.h

@@ -24,6 +24,8 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 OTHER DEALINGS IN THE SOFTWARE.
 OTHER DEALINGS IN THE SOFTWARE.
 */
 */
 
 
+#include "Types.h"
+
 namespace crown
 namespace crown
 {
 {
 
 

+ 1 - 1
tools/core/formats/TextureFormat.h

@@ -26,7 +26,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 
 
 #pragma once
 #pragma once
 
 
-#include <cstdint>
+#include "Types.h"
 
 
 namespace crown
 namespace crown
 {
 {