00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef GUTHTHILA_DEFINES_H
00019 #define GUTHTHILA_DEFINES_H
00020
00021 #if defined(WIN32)
00022 #define GUTHTHILA_EXPORT __declspec(dllexport)
00023 #else
00024 #define GUTHTHILA_EXPORT
00025 #endif
00026
00027 #if defined(__GNUC__)
00028 #if defined(__i386)
00029 #define GUTHTHILA_CALL __attribute__((cdecl))
00030 #else
00031 #define GUTHTHILA_CALL
00032 #endif
00033 #else
00034 #if defined(__unix)
00035 #define GUTHTHILA_CALL
00036 #else
00037 #define GUTHTHILA_CALL __stdcall
00038 #endif
00039 #endif
00040
00041 #ifndef guththila_char_t
00042 #define guththila_char_t char
00043 #endif
00044
00045 #ifndef GUTHTHILA_SUCCESS
00046 #define GUTHTHILA_SUCCESS 1
00047 #endif
00048
00049 #ifndef GUTHTHILA_FAILURE
00050 #define GUTHTHILA_FAILURE 0
00051 #endif
00052
00053 #ifdef __cplusplus
00054 #define EXTERN_C_START() extern "C" {
00055 #define EXTERN_C_END() }
00056 #else
00057 #define EXTERN_C_START()
00058 #define EXTERN_C_END()
00059 #endif
00060
00061 #ifndef GUTHTHILA_EOF
00062 #define GUTHTHILA_EOF (-1)
00063 #endif
00064
00065 #ifndef GUTHTHILA_FALSE
00066 #define GUTHTHILA_FALSE 0
00067 #endif
00068
00069 #ifndef GUTHTHILA_TRUE
00070 #define GUTHTHILA_TRUE 1
00071 #endif
00072
00073 #endif