Created
April 6, 2014 14:50
-
-
Save tsee/10007073 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef PJ_INLINE_H_ | |
#define PJ_INLINE_H_ | |
/* Setup aliases for "static inline" for portability. */ | |
#include <perl.h> | |
/* Alias Perl's */ | |
#define PJ_STATIC STATIC | |
#if defined(NDEBUG) | |
# if defined(_MSC_VER) | |
# define PJ_STATIC_INLINE STATIC __inline | |
# else | |
# define PJ_STATIC_INLINE STATIC inline | |
# endif | |
#else | |
/* avoid inlining under debugging */ | |
# define PJ_STATIC_INLINE STATIC | |
#endif | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment