00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00031 #ifndef _MLO_CONFIG_H_
00032 #define _MLO_CONFIG_H_
00033
00034
00035
00036
00037 #define MLO_CONFIG_HAVE_STD_C
00038 #define MLO_CONFIG_HAVE_STDLIB_H
00039 #define MLO_CONFIG_HAVE_STRING_H
00040 #define MLO_CONFIG_HAVE_CTYPE_H
00041 #define MLO_CONFIG_HAVE_MATH_H
00042 #define MLO_CONFIG_HAVE_ASSERT_H
00043 #define MLO_CONFIG_HAVE_LIMITS_H
00044
00045
00046
00047
00048 typedef int MLO_Int32;
00049 typedef unsigned int MLO_UInt32;
00050 typedef short MLO_Int16;
00051 typedef unsigned short MLO_UInt16;
00052 typedef signed char MLO_Int8;
00053 typedef unsigned char MLO_UInt8;
00054
00055
00056
00057
00058
00059 #if defined(_MSC_VER)
00060 #if !defined(STRICT)
00061 #define STRICT
00062 #define inline __inline
00063 #endif
00064
00065 #define vsnprintf _vsnprintf
00066
00067 #endif
00068
00069
00070 #if defined(_MSC_VER)
00071 #define MLO_CONFIG_HAVE_INT64
00072 #define MLO_CONFIG_INT64_TYPE __int64
00073 #endif
00074
00075
00076 #if defined(__QNX__)
00077 #endif
00078
00079
00080
00081
00082
00083 #if defined(__GNUC__)
00084 #define MLO_COMPILER_UNUSED(p) (void)p
00085 #define MLO_CONFIG_HAVE_INT64
00086 #define MLO_CONFIG_INT64_TYPE long long
00087 #else
00088 #define MLO_COMPILER_UNUSED(p)
00089 #endif
00090
00091
00092
00093
00094 #if defined (MLO_CONFIG_HAVE_STD_C)
00095 #define MLO_CONFIG_HAVE_MALLOC
00096 #define MLO_CONFIG_HAVE_CALLOC
00097 #define MLO_CONFIG_HAVE_REALLOC
00098 #define MLO_CONFIG_HAVE_FREE
00099 #define MLO_CONFIG_HAVE_MEMCPY
00100 #define MLO_CONFIG_HAVE_MEMMOVE
00101 #define MLO_CONFIG_HAVE_MEMSET
00102 #endif
00103
00104 #if defined (MLO_CONFIG_HAVE_STRING_H)
00105 #define MLO_CONFIG_HAVE_STRCMP
00106 #define MLO_CONFIG_HAVE_STRNCMP
00107 #define MLO_CONFIG_HAVE_STRDUP
00108 #define MLO_CONFIG_HAVE_STRLEN
00109 #define MLO_CONFIG_HAVE_STRCPY
00110 #define MLO_CONFIG_HAVE_STRNCPY
00111 #endif
00112
00113 #if defined (MLO_CONFIG_HAVE_MATH_H)
00114 #define MLO_CONFIG_HAVE_POW
00115 #define MLO_CONFIG_HAVE_SQRT
00116 #define MLO_CONFIG_HAVE_COS
00117 #define MLO_CONFIG_HAVE_SIN
00118 #endif
00119
00120 #endif