diff options
author | Andrea Canciani <ranma42@gmail.com> | 2012-08-01 19:32:53 +0200 |
---|---|---|
committer | Andrea Canciani <ranma42@gmail.com> | 2012-08-02 15:52:11 +0200 |
commit | c4d58389a49c6f789ebf59ca1b46cd7f9489382d (patch) | |
tree | 61e2c6929a0c0c160bf90d92678b465dce65bd6d | |
parent | b2befd4d1ae428bb5ab0b50757d1316a3aff0cda (diff) |
Fix usage of inline macro defined by autotools
The "inline" macro defined by autotools gets prefixed with
_simpleops_, just like other config.h macros.
Reported-by: Uli Schlachter <psychon@znc.in>
-rw-r--r-- | compiler/simpleops-compiler-types.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/simpleops-compiler-types.h b/compiler/simpleops-compiler-types.h index 15248da..3507e42 100644 --- a/compiler/simpleops-compiler-types.h +++ b/compiler/simpleops-compiler-types.h @@ -53,6 +53,8 @@ typedef int simpleops_bool_t; #if defined(_MSC_VER) #define simpleops_inline __inline +#elif defined (_simpleops_inline) +#define simpleops_inline _simpleops_inline #else /** * An attribute or type qualifier that hints to the compiler that the |