diff options
author | Yorhel <git@yorhel.nl> | 2014-02-26 09:03:57 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2014-02-26 09:03:57 +0100 |
commit | eb31b2a876621ae0b762507f6ba84794eeec9482 (patch) | |
tree | 96b3fa8956395e13a358f46634532d7810d50841 | |
parent | 372cecb9a0f144b1846f7296fdee8d09b7cdae98 (diff) |
define 'inline' for MSVC compilers
-rw-r--r-- | yxml.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -26,6 +26,10 @@ #include <stdint.h> #include <stddef.h> +#if defined(_MSC_VER) && !defined(__cplusplus) && !defined(inline) +#define inline __inline +#endif + /* Full API documentation for this library can be found in the "yxml.pod" file * in the yxml git repository, or online at http://dev.yorhel.nl/yxml/man */ |