00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef LIBSMBIOS_C_CONFIG_SUFFIX_H
00025 #define LIBSMBIOS_C_CONFIG_SUFFIX_H
00026
00027
00028
00029
00030
00031
00032
00033 #include <limits.h>
00034 # if !defined(LIBSMBIOS_C_HAS_LONG_LONG) \
00035 && !(defined(LIBSMBIOS_C_MSVC) && LIBSMBIOS_C_MSVC <=1300) && !defined(__BORLANDC__) \
00036 && (defined(ULLONG_MAX) || defined(ULONG_LONG_MAX) || defined(ULONGLONG_MAX))
00037 # define LIBSMBIOS_C_HAS_LONG_LONG
00038 #endif
00039 #if !defined(LIBSMBIOS_C_HAS_LONG_LONG) && !defined(LIBSMBIOS_C_NO_INTEGRAL_INT64_T)
00040 # define LIBSMBIOS_C_NO_INTEGRAL_INT64_T
00041 #endif
00042
00043
00044
00045
00046 #if defined(__GNUC__) && (__GNUC__ >= 3) && defined(LIBSMBIOS_C_NO_CTYPE_FUNCTIONS)
00047 # undef LIBSMBIOS_C_NO_CTYPE_FUNCTIONS
00048 #endif
00049
00050
00051
00052
00053
00054
00055 # if defined(LIBSMBIOS_C_NO_CWCHAR) && !defined(LIBSMBIOS_C_NO_CWCTYPE)
00056 # define LIBSMBIOS_C_NO_CWCTYPE
00057 # endif
00058
00059
00060
00061
00062 # if defined(LIBSMBIOS_C_NO_CWCHAR) && !defined(LIBSMBIOS_C_NO_SWPRINTF)
00063 # define LIBSMBIOS_C_NO_SWPRINTF
00064 # endif
00065
00066
00067
00068
00069
00070
00071 #if defined(LIBSMBIOS_C_DISABLE_WIN32) && defined(_WIN32) \
00072 && !defined(LIBSMBIOS_C_DISABLE_THREADS) && !defined(LIBSMBIOS_C_HAS_PTHREADS)
00073 # define LIBSMBIOS_C_DISABLE_THREADS
00074 #endif
00075
00076
00077
00078
00079
00080
00081
00082 #if (defined(__MT__) || defined(_MT) || defined(_REENTRANT) \
00083 || defined(_PTHREADS)) && !defined(LIBSMBIOS_C_HAS_THREADS)
00084 # define LIBSMBIOS_C_HAS_THREADS
00085 #endif
00086
00087
00088
00089
00090 #if defined(LIBSMBIOS_C_DISABLE_THREADS) && defined(LIBSMBIOS_C_HAS_THREADS)
00091 # undef LIBSMBIOS_C_HAS_THREADS
00092 #endif
00093
00094
00095
00096
00097 #if defined(LIBSMBIOS_C_HAS_THREADS) && !defined(LIBSMBIOS_C_HAS_PTHREADS)\
00098 && !defined(LIBSMBIOS_C_HAS_WINTHREADS) && !defined(LIBSMBIOS_C_HAS_BETHREADS)\
00099 && !defined(LIBSMBIOS_C_HAS_MPTASKS)
00100 # undef LIBSMBIOS_C_HAS_THREADS
00101 #endif
00102
00103
00104
00105
00106 #ifndef LIBSMBIOS_C_HAS_THREADS
00107 # undef LIBSMBIOS_C_HAS_PTHREADS
00108 # undef LIBSMBIOS_C_HAS_PTHREAD_MUTEXATTR_SETTYPE
00109 # undef LIBSMBIOS_C_HAS_WINTHREADS
00110 # undef LIBSMBIOS_C_HAS_BETHREADS
00111 # undef LIBSMBIOS_C_HAS_MPTASKS
00112 #endif
00113
00114
00115
00116
00117
00118 # if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901)
00119 # define LIBSMBIOS_C_HAS_STDINT_H
00120 # endif
00121
00122
00123
00124
00125
00126 #if defined(LIBSMBIOS_C_ABI_PREFIX) && defined(LIBSMBIOS_C_ABI_SUFFIX) && !defined(LIBSMBIOS_C_HAS_ABI_HEADERS)
00127 # define LIBSMBIOS_C_HAS_ABI_HEADERS
00128 #endif
00129
00130 #if defined(LIBSMBIOS_C_HAS_ABI_HEADERS) && defined(LIBSMBIOS_C_DISABLE_ABI_HEADERS)
00131 # undef LIBSMBIOS_C_HAS_ABI_HEADERS
00132 #endif
00133
00134
00135
00136
00137
00138
00139
00140
00141 #ifdef LIBSMBIOS_C_NO_UNREACHABLE_RETURN_DETECTION
00142 # define LIBSMBIOS_C_UNREACHABLE_RETURN(x) return x;
00143 #else
00144 # define LIBSMBIOS_C_UNREACHABLE_RETURN(x)
00145 #endif
00146
00147
00148
00149
00150
00151
00152
00153
00154
00155 #define LIBSMBIOS_C_STRINGIZE(X) LIBSMBIOS_C_DO_STRINGIZE(X)
00156 #define LIBSMBIOS_C_DO_STRINGIZE(X) #X
00157
00158
00159
00160
00161
00162
00163
00164
00165
00166 #define LIBSMBIOS_C_JOIN( X, Y ) LIBSMBIOS_C_DO_JOIN( X, Y )
00167 #define LIBSMBIOS_C_DO_JOIN( X, Y ) LIBSMBIOS_C_DO_JOIN2(X,Y)
00168 #define LIBSMBIOS_C_DO_JOIN2( X, Y ) X##Y
00169
00170
00171
00172
00173
00174 # ifndef LIBSMBIOS_C_COMPILER
00175 # define LIBSMBIOS_C_COMPILER "Unknown ISO C++ Compiler"
00176 # endif
00177 # ifndef LIBSMBIOS_C_STDLIB
00178 # define LIBSMBIOS_C_STDLIB "Unknown ISO standard library"
00179 # endif
00180 # ifndef LIBSMBIOS_C_PLATFORM
00181 # if defined(unix) || defined(__unix) || defined(_XOPEN_SOURCE) \
00182 || defined(_POSIX_SOURCE)
00183 # define LIBSMBIOS_C_PLATFORM "Generic Unix"
00184 # else
00185 # define LIBSMBIOS_C_PLATFORM "Unknown"
00186 # endif
00187 # endif
00188
00189 #endif
00190
00191
00192