Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix recursive inline on OS X #245

Merged
merged 1 commit into from

2 participants

@mistydemeo

This patch was originally proposed in #135. Make fails on some platforms/compilers with a "recursive inlining" error.

In Homebrew we've been applying this patch for two years now unconditionally, on all OS versions and compilers, without problems.

@stevedekorte stevedekorte merged commit 0988bcb into from
@stevedekorte
Owner

Thanks Misty :)

@mistydemeo mistydemeo deleted the branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 6, 2013
  1. @mistydemeo

    Fix recursive inline

    mistydemeo authored
    Fixes #135.
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  libs/basekit/source/Common_inline.h
View
2  libs/basekit/source/Common_inline.h
@@ -53,7 +53,7 @@ Kudos to Daniel A. Koepke
#if defined(__APPLE__)
#ifndef NS_INLINE
- #define NS_INLINE static __inline__ __attribute__((always_inline))
+ #define NS_INLINE static inline
#endif
#ifdef IO_IN_C_FILE
Something went wrong with that request. Please try again.