void-packages/srcpkgs/pilot-link/patches/fix-ifdef_syntax.patch

12 lines
338 B
Diff

--- include/pi-md5.h.in 2010-02-07 04:42:49.000000000 +0100
+++ include/pi-md5.h.in 2016-12-20 14:03:39.781946035 +0100
@@ -22,7 +22,7 @@
#if HAVE_STDINT_H
#include <stdint.h>
#endif
-#ifdef HAVE_INTTYPES_H || HAVE_STDINT_H
+#if defined(HAVE_INTTYPES_H) || defined(HAVE_STDINT_H)
#define UINT8 uint8_t
#define UINT32 uint32_t
#else