CPP: Fix compilation error on Windows.
authorphilip.liard@gmail.com <philip.liard@gmail.com@ee073f10-1060-11df-b6a4-87a95322a99c>
Mon, 17 Jun 2013 15:12:24 +0000 (15:12 +0000)
committerphilip.liard@gmail.com <philip.liard@gmail.com@ee073f10-1060-11df-b6a4-87a95322a99c>
Mon, 17 Jun 2013 15:12:24 +0000 (15:12 +0000)
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

cpp/src/phonenumbers/base/basictypes.h

index a35e9fc..ac63259 100644 (file)
@@ -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