[Lldb-commits] [lldb] r125695 - /lldb/trunk/include/lldb/Core/ArchSpec.h

Stephen Wilson wilsons at start.ca
Wed Feb 16 16:01:47 PST 2011


Author: wilsons
Date: Wed Feb 16 18:01:47 2011
New Revision: 125695

URL: http://llvm.org/viewvc/llvm-project?rev=125695&view=rev
Log:
Do not use constants from stdint.h that we cannot portably provide on all platforms.


Modified:
    lldb/trunk/include/lldb/Core/ArchSpec.h

Modified: lldb/trunk/include/lldb/Core/ArchSpec.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Core/ArchSpec.h?rev=125695&r1=125694&r2=125695&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Core/ArchSpec.h (original)
+++ lldb/trunk/include/lldb/Core/ArchSpec.h Wed Feb 16 18:01:47 2011
@@ -12,8 +12,6 @@
 
 #if defined(__cplusplus)
 
-#include <stdint.h>
-
 #include "lldb/lldb-private.h"
 #include "llvm/ADT/Triple.h"
 
@@ -350,10 +348,10 @@
 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);
 };
 
 





More information about the lldb-commits mailing list