1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-06 00:55:50 +00:00

Windows build fixes

This commit is contained in:
athile 2010-06-27 14:43:07 -07:00
parent d67f0c74b0
commit b2485e8a52
4 changed files with 10 additions and 9 deletions

View File

@ -25,9 +25,8 @@
#define _BSA_FILE_H_ #define _BSA_FILE_H_
#include <libs/mangle/stream/stream.hpp> #include <libs/mangle/stream/stream.hpp>
#include <libs/platform/stdint.h>
#include <stdint.h> #include <libs/platform/strings.h>
#include <strings.h>
#include <string> #include <string>
#include <vector> #include <vector>
#include <map> #include <map>

View File

@ -2,7 +2,7 @@
#define _ESM_READER_H #define _ESM_READER_H
#include <string> #include <string>
#include <stdint.h> #include <libs/platform/stdint.h>
#include <string.h> #include <string.h>
#include <assert.h> #include <assert.h>
#include <vector> #include <vector>

View File

@ -1,7 +1,7 @@
#include "stringops.hpp" #include "stringops.hpp"
#include <string.h> #include <string.h>
#include <strings.h> #include <libs/platform/strings.h>
bool begins(const char* str1, const char* str2) bool begins(const char* str1, const char* str2)
{ {

View File

@ -2,10 +2,12 @@
#ifndef _STDINT_WRAPPER_H #ifndef _STDINT_WRAPPER_H
#define _STDINT_WRAPPER_H #define _STDINT_WRAPPER_H
typedef int int32_t; #include <boost/cstdint.hpp>
typedef unsigned int uint32_t;
typedef long long int64_t; // Pull the boost names into the global namespace for convenience
typedef unsigned long long uint64_t; using boost::int32_t;
using boost::uint32_t;
using boost::int64_t;
using boost::uint64_t;
#endif #endif