ports/devel/libeio/files/patch-ecb.h
Antoine Brodin ddc1d1d9a0 - Allow building with clang 3.6 [1]
- Use autoreconf
- Strip shared library
- Remove unused Makefile

PR:		197867 [1]
Submitted by:	dim [1]
Approved by:	maintainer timeout (osa, 23 days) [1]
2015-03-15 14:55:44 +00:00

13 lines
544 B
C

--- ecb.h.orig 2012-10-16 20:30:08 UTC
+++ ecb.h
@@ -472,8 +472,8 @@ ecb_inline uint64_t ecb_rotr64 (uint64_t
#define ecb_unreachable() __builtin_unreachable ()
#else
/* this seems to work fine, but gcc always emits a warning for it :/ */
- ecb_inline void ecb_unreachable (void) ecb_noreturn;
- ecb_inline void ecb_unreachable (void) { }
+ ecb_inline ecb_noreturn void ecb_unreachable (void);
+ ecb_inline ecb_noreturn void ecb_unreachable (void) { }
#endif
/* try to tell the compiler that some condition is definitely true */