From e37714111eb7aca0ede3e772f52f7911013b12c9 Mon Sep 17 00:00:00 2001 From: Luke Iannini Date: Sat, 19 Oct 2013 11:11:13 -0700 Subject: [PATCH] Replace __GNUC__ with __GNUC__GNU_INLINE__ in HsNet to fix linking errors on OS X, as discussed in #100. Fixes #100 --- include/HsNet.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/HsNet.h b/include/HsNet.h index 6ba15641..e4593e15 100644 --- a/include/HsNet.h +++ b/include/HsNet.h @@ -23,7 +23,7 @@ #ifndef INLINE # if defined(_MSC_VER) # define INLINE extern __inline -# elif defined(__GNUC__) +# elif defined(__GNUC_GNU_INLINE__) # define INLINE extern inline # else # define INLINE inline