diff options
author | Frances Buontempo <frances.buontempo@gmail.com> | 2012-01-03 16:45:16 (GMT) |
---|---|---|
committer | Frances Buontempo <frances.buontempo@gmail.com> | 2012-01-03 16:45:16 (GMT) |
commit | d7dbe1ac84658bd2b1b1d5cf38823a22a317f18b (patch) | |
tree | cfc859495d86745cd8546bb771625f0eb35cd69e | |
parent | 7d600a4e12b2aa2ecdc2a801f680049e3b17d62a (diff) | |
download | Ninja-d7dbe1ac84658bd2b1b1d5cf38823a22a317f18b.zip Ninja-d7dbe1ac84658bd2b1b1d5cf38823a22a317f18b.tar.gz Ninja-d7dbe1ac84658bd2b1b1d5cf38823a22a317f18b.tar.bz2 |
typedef long long for MSVC
-rw-r--r-- | src/util.h | 4 | ||||
-rw-r--r-- | src/win32port.h | 9 |
2 files changed, 13 insertions, 0 deletions
@@ -16,7 +16,11 @@ #define NINJA_UTIL_H_ #pragma once +#ifdef WIN32 +#include "win32port.h" +#else #include <stdint.h> +#endif #include <string> using namespace std; diff --git a/src/win32port.h b/src/win32port.h new file mode 100644 index 0000000..a39590f --- /dev/null +++ b/src/win32port.h @@ -0,0 +1,9 @@ +#ifndef NINJA_WIN32PORT_H_ +#define NINJA_WIN32PORT_H_ +#pragma once + +/// A 64-bit integer type +typedef unsigned long long int64_t; +typedef unsigned long long uint64_t; + +#endif // NINJA_WIN32PORT_H_
\ No newline at end of file |