Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Unified Diff: third_party/snappy/win32/config.h

Issue 2712273002: DEPS: Upgrade snappy to 1.1.4. (Closed)
Patch Set: Buildbot fix, take 2. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/snappy/mac/snappy-stubs-public.h ('k') | third_party/snappy/win32/snappy-stubs-public.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/snappy/win32/config.h
diff --git a/third_party/snappy/linux/config.h b/third_party/snappy/win32/config.h
similarity index 83%
copy from third_party/snappy/linux/config.h
copy to third_party/snappy/win32/config.h
index ad9863236930438f358348ea5a1e4e8125e6e84a..583780c0ef06f717220950ebd230e51c5cd1ced3 100644
--- a/third_party/snappy/linux/config.h
+++ b/third_party/snappy/win32/config.h
@@ -5,16 +5,16 @@
/* #undef AC_APPLE_UNIVERSAL_BUILD */
/* Define to 1 if the compiler supports __builtin_ctz and friends. */
-#define HAVE_BUILTIN_CTZ 1
+/* #undef HAVE_BUILTIN_CTZ */
/* Define to 1 if the compiler supports __builtin_expect. */
-#define HAVE_BUILTIN_EXPECT 1
+/* #undef HAVE_BUILTIN_EXPECT */
/* Define to 1 if you have the <byteswap.h> header file. */
-#define HAVE_BYTESWAP_H 1
+/* #undef HAVE_BYTESWAP_H */
/* Define to 1 if you have the <dlfcn.h> header file. */
-#define HAVE_DLFCN_H 1
+/* #undef HAVE_DLFCN_H */
/* Use the gflags package for command-line parsing. */
/* #undef HAVE_GFLAGS */
@@ -65,10 +65,10 @@
/* #undef HAVE_SYS_ENDIAN_H */
/* Define to 1 if you have the <sys/mman.h> header file. */
-#define HAVE_SYS_MMAN_H 1
+/* #undef HAVE_SYS_MMAN_H */
/* Define to 1 if you have the <sys/resource.h> header file. */
-#define HAVE_SYS_RESOURCE_H 1
+/* #undef HAVE_SYS_RESOURCE_H */
/* Define to 1 if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1
@@ -83,10 +83,12 @@
#define HAVE_UNISTD_H 1
/* Define to 1 if you have the <windows.h> header file. */
-/* #undef HAVE_WINDOWS_H */
+#define HAVE_WINDOWS_H 1
-/* Define to the sub-directory in which libtool stores uninstalled libraries.
- */
+/* Define if running the test suite so that test #27 works on MinGW. */
+/* #undef LT_MINGW_STATIC_TESTSUITE_HACK */
+
+/* Define to the sub-directory where libtool stores uninstalled libraries. */
#define LT_OBJDIR ".libs/"
/* Name of package */
@@ -99,7 +101,7 @@
#define PACKAGE_NAME "snappy"
/* Define to the full name and version of this package. */
-#define PACKAGE_STRING "snappy 1.1.0"
+#define PACKAGE_STRING "snappy 1.1.4"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "snappy"
@@ -108,28 +110,31 @@
#define PACKAGE_URL ""
/* Define to the version of this package. */
-#define PACKAGE_VERSION "1.1.0"
+#define PACKAGE_VERSION "1.1.4"
/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1
/* Version number of package */
-#define VERSION "1.1.0"
+#define VERSION "1.1.4"
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
significant byte first (like Motorola and SPARC, unlike Intel). */
#if defined AC_APPLE_UNIVERSAL_BUILD
-# if defined __BIG_ENDIAN__
-# define WORDS_BIGENDIAN 1
-# endif
+#if defined __BIG_ENDIAN__
+#define WORDS_BIGENDIAN 1
+#endif
#else
-# ifndef WORDS_BIGENDIAN
+#ifndef WORDS_BIGENDIAN
/* # undef WORDS_BIGENDIAN */
-# endif
+#endif
#endif
/* Define to `unsigned int' if <sys/types.h> does not define. */
/* #undef size_t */
/* Define to `int' if <sys/types.h> does not define. */
-/* #undef ssize_t */
+#include <Windows.h>
+
+#include <BaseTsd.h>
+typedef SSIZE_T ssize_t;
« no previous file with comments | « third_party/snappy/mac/snappy-stubs-public.h ('k') | third_party/snappy/win32/snappy-stubs-public.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698