diff options
| author | Stephen Wilson <wilsons@start.ca> | 2011-02-17 00:01:47 +0000 |
|---|---|---|
| committer | Stephen Wilson <wilsons@start.ca> | 2011-02-17 00:01:47 +0000 |
| commit | bc15eb1736b0bc87e36df432463885c8c674585d (patch) | |
| tree | 51f8135f2b2bb23366fe5fb0247418d24865e1e1 | |
| parent | 8d2226208d1717ddc34c63707d2ffcfc6f1d21b6 (diff) | |
| download | bcm5719-llvm-bc15eb1736b0bc87e36df432463885c8c674585d.tar.gz bcm5719-llvm-bc15eb1736b0bc87e36df432463885c8c674585d.zip | |
Do not use constants from stdint.h that we cannot portably provide on all platforms.
llvm-svn: 125695
| -rw-r--r-- | lldb/include/lldb/Core/ArchSpec.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lldb/include/lldb/Core/ArchSpec.h b/lldb/include/lldb/Core/ArchSpec.h index 3bb14ac6cc8..93f79dd563f 100644 --- a/lldb/include/lldb/Core/ArchSpec.h +++ b/lldb/include/lldb/Core/ArchSpec.h @@ -12,8 +12,6 @@ #if defined(__cplusplus) -#include <stdint.h> - #include "lldb/lldb-private.h" #include "llvm/ADT/Triple.h" @@ -350,10 +348,10 @@ protected: private: void - MachOArchUpdated (size_t macho_idx = SIZE_MAX); + MachOArchUpdated (size_t macho_idx = ~(size_t)0); void - ELFArchUpdated (size_t idx = SIZE_MAX); + ELFArchUpdated (size_t idx = ~(size_t)0); }; |

