aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Filho <renato.filho@openbossa.org>2010-08-18 18:08:00 -0300
committerRenato Filho <renato.filho@openbossa.org>2010-08-19 11:37:05 -0300
commit224be40cc9c31c381b62f7c1bfdde0f2c3b1fef7 (patch)
tree63f06e5534e2343f237707e44a3c13d25d492ee4
parentb4c007c3ee9932b7a384b2b4fcdc8b4be2dfbad9 (diff)
Used the define MSVC in goggle hash to compile with native windows API.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
-rw-r--r--ext/sparsehash/google/sparsehash/sparseconfig.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/sparsehash/google/sparsehash/sparseconfig.h b/ext/sparsehash/google/sparsehash/sparseconfig.h
index d86a2bb7a..a160c0cd7 100644
--- a/ext/sparsehash/google/sparsehash/sparseconfig.h
+++ b/ext/sparsehash/google/sparsehash/sparseconfig.h
@@ -6,7 +6,7 @@
/* Namespace for Google classes */
#define GOOGLE_NAMESPACE ::google
-#ifdef _WIN32
+#ifdef MSVC
/* the location of the header defining hash functions */
#define HASH_FUN_H <hash_map>
/* the namespace of the hash<> function */