summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-05-20 20:18:59 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-05-20 20:18:59 +0000
commit1f5be930d03c3704a524dad31464220ece1229e4 (patch)
treecba49a363f0332e8b471dab6aff8c04326e3c29e
parent4878d937d961dc4618b3f13b3eba655dab29d61a (diff)
Assume that all compilers (except Microsoft) have stdint.h
git-svn-id: http://pugixml.googlecode.com/svn/trunk@437 99668b35-9821-0410-8761-19e4c4f06640
-rw-r--r--src/pugixml.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/pugixml.cpp b/src/pugixml.cpp
index f96f7a7..04fb1db 100644
--- a/src/pugixml.cpp
+++ b/src/pugixml.cpp
@@ -49,9 +49,10 @@ using std::memcpy;
#endif
// uintptr_t
-#if defined(__BORLANDC__) || defined(__MWERKS__) || defined(__DMC__) || defined(__GNUC__)
+#if !defined(_MSC_VER)
# include <stdint.h>
-#elif defined(_MSC_VER) && _MSC_VER < 1300
+#elif _MSC_VER < 1300
+// No native uintptr_t in MSVC6
typedef size_t uintptr_t;
#endif