diff options
Diffstat (limited to 'fribidi_config.h.in')
-rw-r--r-- | fribidi_config.h.in | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/fribidi_config.h.in b/fribidi_config.h.in index 9dcc46a..aa204e3 100644 --- a/fribidi_config.h.in +++ b/fribidi_config.h.in @@ -6,23 +6,29 @@ #define FRIBIDI_MINOR_VERSION @FRIBIDI_MINOR_VERSION@ #define FRIBIDI_INTERFACE_VERSION @FRIBIDI_INTERFACE_VERSION@ -#if @FRIBIDI_NO_CHARSETS@ +#if @FRIBIDI_NO_CHARSETS@ /* FRIBIDI_NO_CHARSETS */ #define FRIBIDI_NO_CHARSETS 1 -#else +#else /* NOT FRIBIDI_NO_CHARSETS */ #undef FRIBIDI_NO_CHARSETS -#endif +#endif /* FRIBIDI_NO_CHARSETS */ #define TOSTR(x) #x #ifdef WIN32 + #ifdef FRIBIDI_EXPORTS #define FRIBIDI_API __declspec(dllexport) #else #define FRIBIDI_API __declspec(dllimport) #endif -#else + +#define snprintf _snprintf + +#else /* NOT WIN32 */ + #define FRIBIDI_API -#endif + +#endif /* WIN32 */ /* __BEGIN_DECLS should be used at the beginning of your declarations, * so that C++ compilers don't mangle their names. Use __END_DECLS at @@ -32,17 +38,17 @@ #ifdef __cplusplus #define __BEGIN_DECLS extern "C" { #define __END_DECLS } -#else +#else /* NOT __cplusplus */ #define __BEGIN_DECLS /* empty */ #define __END_DECLS /* empty */ -#endif +#endif /* __cplusplus */ #define FRIBIDI_TRUE 1 #define FRIBIDI_FALSE 0 #ifndef TRUE #define TRUE FRIBIDI_TRUE -#endif +#endif /* TRUE */ #ifndef FALSE #define FALSE FRIBIDI_FALSE -#endif +#endif /* FALSE */ |