fix-ifdefs.patch 337 B

123456789101112
  1. --- a/snappy-stubs-public.h (index)
  2. +++ b/snappy-stubs-public.h (working tree)
  3. @@ -38,1 +38,2 @@
  4. -#include <cstddef>
  5. +#include <cstddef>
  6. +#include "config.h"
  7. @@ -40,1 +40,1 @@
  8. -#if 1 // HAVE_SYS_UIO_H
  9. +#if defined(HAVE_SYS_UIO_H)
  10. @@ -50,1 +50,1 @@ using uint32 = std::uint32_t;
  11. -#if !1 // !HAVE_SYS_UIO_H
  12. +#if !defined(HAVE_SYS_UIO_H)