From 13a9e04fd23bf90b4fa705377f0763d20165a1d3 Mon Sep 17 00:00:00 2001 From: dwight Date: Tue, 2 Aug 2011 23:23:44 -0400 Subject: [PATCH] make earlier visual studio versions work --- third_party/snappy/snappy-stubs-public.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/third_party/snappy/snappy-stubs-public.h b/third_party/snappy/snappy-stubs-public.h index b089baca9b5..074d4638866 100755 --- a/third_party/snappy/snappy-stubs-public.h +++ b/third_party/snappy/snappy-stubs-public.h @@ -36,7 +36,7 @@ #ifndef UTIL_SNAPPY_OPENSOURCE_SNAPPY_STUBS_PUBLIC_H_ #define UTIL_SNAPPY_OPENSOURCE_SNAPPY_STUBS_PUBLIC_H_ -#if 1 +#if !defined(_WIN32) #include #endif @@ -54,7 +54,7 @@ namespace snappy { -#if 1 +#if !defined(_WIN32) typedef int8_t int8; typedef uint8_t uint8; typedef int16_t int16;