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

Stephen Wilson wilsons at start.ca
Tue Feb 15 21:24:31 PST 2011


Author: wilsons
Date: Tue Feb 15 23:24:31 2011
New Revision: 125653

URL: http://llvm.org/viewvc/llvm-project?rev=125653&view=rev
Log:

Use SIZE_MAX instead of SIZE_T_MAX for portability.


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=125653&r1=125652&r2=125653&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Core/ArchSpec.h (original)
+++ lldb/trunk/include/lldb/Core/ArchSpec.h Tue Feb 15 23:24:31 2011
@@ -12,6 +12,8 @@
 
 #if defined(__cplusplus)
 
+#include <stdint.h>
+
 #include "lldb/lldb-private.h"
 #include "llvm/ADT/Triple.h"
 
@@ -348,10 +350,10 @@
 private:
     
     void
-    MachOArchUpdated (size_t macho_idx = SIZE_T_MAX);
+    MachOArchUpdated (size_t macho_idx = SIZE_MAX);
     
     void
-    ELFArchUpdated (size_t idx = SIZE_T_MAX);
+    ELFArchUpdated (size_t idx = SIZE_MAX);
 };
 
 





More information about the lldb-commits mailing list