| author | |
| committer | |
| log | 41cb49eb5807f89ca81f725885e5194690f5f1d8 |
| tree | 8344fc2421f34d896929e317013b1458dc645ad5 |
| parent | 9ed00b3829dae0fca3db6c0e501ae006e9e8aad8 |
| signature |
2 files changed, 5 insertions(+), 1 deletions(-)
src/os.cpp+2| ... | ... | @@ -37,7 +37,9 @@ |
| 37 | 37 | #include <fcntl.h> |
| 38 | 38 | #include <ntsecapi.h> |
| 39 | 39 | |
| 40 | #if defined(_MSC_VER) | |
| 40 | 41 | typedef SSIZE_T ssize_t; |
| 42 | #endif | |
| 41 | 43 | #else |
| 42 | 44 | #define ZIG_OS_POSIX |
| 43 | 45 |
src/zig_clang.h+3-1| ... | ... | @@ -50,7 +50,9 @@ enum ZigClangAPValueKind { |
| 50 | 50 | struct ZigClangAPValue { |
| 51 | 51 | enum ZigClangAPValueKind Kind; |
| 52 | 52 | // experimentally-derived size of clang::APValue::DataType |
| 53 | #if defined(_WIN32) && defined(_MSC_VER) | |
| 53 | #if defined(_WIN32) && defined(__i386__) | |
| 54 | char Data[68]; | |
| 55 | #elif defined(_WIN32) && defined(_MSC_VER) | |
| 54 | 56 | char Data[52]; |
| 55 | 57 | #elif defined(__i386__) |
| 56 | 58 | char Data[48]; |