summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorphilip.liard@gmail.com <philip.liard@gmail.com@ee073f10-1060-11df-b6a4-87a95322a99c>2013-06-17 15:12:24 +0000
committerphilip.liard@gmail.com <philip.liard@gmail.com@ee073f10-1060-11df-b6a4-87a95322a99c>2013-06-17 15:12:24 +0000
commitf0db01acc035c9af986dedc25e8d854d62296c57 (patch)
tree4b17b1509a854a67fde144c46e52be1c15b0f803
parent0ed665951e53a5e9d07c207064c117fae6e9d20f (diff)
downloadandroid_external_libphonenumbergoogle-f0db01acc035c9af986dedc25e8d854d62296c57.tar.gz
android_external_libphonenumbergoogle-f0db01acc035c9af986dedc25e8d854d62296c57.tar.bz2
android_external_libphonenumbergoogle-f0db01acc035c9af986dedc25e8d854d62296c57.zip
CPP: Fix compilation error on Windows.
This appears when the library is built in Chromium. R=lararennie@google.com Review URL: https://codereview.appspot.com/10286044 git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@584 ee073f10-1060-11df-b6a4-87a95322a99c
-rw-r--r--cpp/src/phonenumbers/base/basictypes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/phonenumbers/base/basictypes.h b/cpp/src/phonenumbers/base/basictypes.h
index a35e9fc..ac63259 100644
--- a/cpp/src/phonenumbers/base/basictypes.h
+++ b/cpp/src/phonenumbers/base/basictypes.h
@@ -9,7 +9,7 @@
#include <stddef.h> // For size_t
#include <string.h> // for memcpy
-#ifndef COMPILER_MSVC
+#if !defined(_WIN32)
// stdint.h is part of C99 but MSVC doesn't have it.
#include <stdint.h> // For intptr_t.
#endif