aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/snappy/patches/fix-ifdefs.patch
blob: 3b3623d9357e8b0e684ca8d59ab4918234ea8b82 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/snappy-stubs-public.h	(index)
+++ b/snappy-stubs-public.h	(working tree)
@@ -38,1 +38,2 @@
-#include <cstddef>
+#include <cstddef>
+#include "config.h"
@@ -40,1 +40,1 @@
-#if 1  // HAVE_SYS_UIO_H
+#if defined(HAVE_SYS_UIO_H)
@@ -50,1 +50,1 @@ using uint32 = std::uint32_t;
-#if !1  // !HAVE_SYS_UIO_H
+#if !defined(HAVE_SYS_UIO_H)