Eurobot2012_Primary
Dependencies: mbed Eurobot_2012_Primary
tvmet/config/config-vc71.h@26:0995f61cb7b8, 2012-10-17 (annotated)
- Committer:
- narshu
- Date:
- Wed Oct 17 22:22:47 2012 +0000
- Revision:
- 26:0995f61cb7b8
- Parent:
- 25:143b19c1fb05
Eurobot 2012 Primary;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
narshu | 25:143b19c1fb05 | 1 | /* |
narshu | 25:143b19c1fb05 | 2 | * Tiny Vector Matrix Library |
narshu | 25:143b19c1fb05 | 3 | * Dense Vector Matrix Libary of Tiny size using Expression Templates |
narshu | 25:143b19c1fb05 | 4 | * |
narshu | 25:143b19c1fb05 | 5 | * Copyright (C) 2001 - 2003 Olaf Petzold <opetzold@users.sourceforge.net> |
narshu | 25:143b19c1fb05 | 6 | * |
narshu | 25:143b19c1fb05 | 7 | * This library is free software; you can redistribute it and/or |
narshu | 25:143b19c1fb05 | 8 | * modify it under the terms of the GNU Lesser General Public |
narshu | 25:143b19c1fb05 | 9 | * License as published by the Free Software Foundation; either |
narshu | 25:143b19c1fb05 | 10 | * version 2.1 of the License, or (at your option) any later version. |
narshu | 25:143b19c1fb05 | 11 | * |
narshu | 25:143b19c1fb05 | 12 | * This library is distributed in the hope that it will be useful, |
narshu | 25:143b19c1fb05 | 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
narshu | 25:143b19c1fb05 | 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
narshu | 25:143b19c1fb05 | 15 | * Lesser General Public License for more details. |
narshu | 25:143b19c1fb05 | 16 | * |
narshu | 25:143b19c1fb05 | 17 | * You should have received a copy of the GNU Lesser General Public |
narshu | 25:143b19c1fb05 | 18 | * License along with this library; if not, write to the Free Software |
narshu | 25:143b19c1fb05 | 19 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
narshu | 25:143b19c1fb05 | 20 | * |
narshu | 25:143b19c1fb05 | 21 | * $Id: config-vc71.h.in,v 1.2 2004-11-04 16:47:12 opetzold Exp $ |
narshu | 25:143b19c1fb05 | 22 | */ |
narshu | 25:143b19c1fb05 | 23 | |
narshu | 25:143b19c1fb05 | 24 | #ifndef TVMET_CONFIG_VC71_H |
narshu | 25:143b19c1fb05 | 25 | #define TVMET_CONFIG_VC71_H |
narshu | 25:143b19c1fb05 | 26 | |
narshu | 25:143b19c1fb05 | 27 | |
narshu | 25:143b19c1fb05 | 28 | /******************************************************************* |
narshu | 25:143b19c1fb05 | 29 | * equivalent hand made header to configure.ac's autoheader. |
narshu | 25:143b19c1fb05 | 30 | ******************************************************************/ |
narshu | 25:143b19c1fb05 | 31 | |
narshu | 25:143b19c1fb05 | 32 | |
narshu | 25:143b19c1fb05 | 33 | /* define if the compiler has complex<T> */ |
narshu | 25:143b19c1fb05 | 34 | #ifndef TVMET_HAVE_COMPLEX |
narshu | 25:143b19c1fb05 | 35 | #define TVMET_HAVE_COMPLEX 1 |
narshu | 25:143b19c1fb05 | 36 | #endif |
narshu | 25:143b19c1fb05 | 37 | |
narshu | 25:143b19c1fb05 | 38 | /* define if the compiler has complex math functions */ |
narshu | 25:143b19c1fb05 | 39 | #ifndef TVMET_HAVE_COMPLEX_MATH1 |
narshu | 25:143b19c1fb05 | 40 | #define TVMET_HAVE_COMPLEX_MATH1 1 |
narshu | 25:143b19c1fb05 | 41 | #endif |
narshu | 25:143b19c1fb05 | 42 | |
narshu | 25:143b19c1fb05 | 43 | /* define if the compiler has more complex math functions */ |
narshu | 25:143b19c1fb05 | 44 | /* #undef TVMET_HAVE_COMPLEX_MATH2 */ |
narshu | 25:143b19c1fb05 | 45 | |
narshu | 25:143b19c1fb05 | 46 | /* Define to 1 if you have the <dlfcn.h> header file. */ |
narshu | 25:143b19c1fb05 | 47 | #ifdef TVMET_HAVE_DLFCN_H |
narshu | 25:143b19c1fb05 | 48 | #undef TVMET_HAVE_DLFCN_H |
narshu | 25:143b19c1fb05 | 49 | #endif |
narshu | 25:143b19c1fb05 | 50 | |
narshu | 25:143b19c1fb05 | 51 | /* Define to 1 if you have the `floor' function. */ |
narshu | 25:143b19c1fb05 | 52 | #ifndef TVMET_HAVE_FLOOR |
narshu | 25:143b19c1fb05 | 53 | #define TVMET_HAVE_FLOOR 1 |
narshu | 25:143b19c1fb05 | 54 | #endif |
narshu | 25:143b19c1fb05 | 55 | |
narshu | 25:143b19c1fb05 | 56 | /* Define if the compiler supports IEEE math library */ |
narshu | 25:143b19c1fb05 | 57 | #ifndef TVMET_HAVE_IEEE_MATH |
narshu | 25:143b19c1fb05 | 58 | #define TVMET_HAVE_IEEE_MATH 1 |
narshu | 25:143b19c1fb05 | 59 | #endif |
narshu | 25:143b19c1fb05 | 60 | |
narshu | 25:143b19c1fb05 | 61 | /* Define to 1 if you have the <inttypes.h> header file. */ |
narshu | 25:143b19c1fb05 | 62 | #ifdef TVMET_HAVE_INTTYPES_H |
narshu | 25:143b19c1fb05 | 63 | #undef TVMET_HAVE_INTTYPES_H |
narshu | 25:143b19c1fb05 | 64 | #endif |
narshu | 25:143b19c1fb05 | 65 | |
narshu | 25:143b19c1fb05 | 66 | /* Define to 1 if you have the `dl' library (-ldl). */ |
narshu | 25:143b19c1fb05 | 67 | #ifdef TVMET_HAVE_LIBDL |
narshu | 25:143b19c1fb05 | 68 | #undef TVMET_HAVE_LIBDL |
narshu | 25:143b19c1fb05 | 69 | #endif |
narshu | 25:143b19c1fb05 | 70 | |
narshu | 25:143b19c1fb05 | 71 | /* Define to 1 if long double works and has more range or precision than |
narshu | 25:143b19c1fb05 | 72 | double. */ |
narshu | 25:143b19c1fb05 | 73 | #ifndef TVMET_HAVE_LONG_DOUBLE |
narshu | 25:143b19c1fb05 | 74 | #define TVMET_HAVE_LONG_DOUBLE 1 |
narshu | 25:143b19c1fb05 | 75 | #endif |
narshu | 25:143b19c1fb05 | 76 | |
narshu | 25:143b19c1fb05 | 77 | /* Define if the compiler supports the long_long type */ |
narshu | 25:143b19c1fb05 | 78 | // enable MS extension for long long |
narshu | 25:143b19c1fb05 | 79 | #ifndef TVMET_HAVE_LONG_LONG |
narshu | 25:143b19c1fb05 | 80 | #define TVMET_HAVE_LONG_LONG 1 |
narshu | 25:143b19c1fb05 | 81 | #endif |
narshu | 25:143b19c1fb05 | 82 | |
narshu | 25:143b19c1fb05 | 83 | /* Define to 1 if you have the <memory.h> header file. */ |
narshu | 25:143b19c1fb05 | 84 | #ifndef TVMET_HAVE_MEMORY_H |
narshu | 25:143b19c1fb05 | 85 | #define TVMET_HAVE_MEMORY_H 1 |
narshu | 25:143b19c1fb05 | 86 | #endif |
narshu | 25:143b19c1fb05 | 87 | |
narshu | 25:143b19c1fb05 | 88 | /* Define if the compiler supports the mutable keyword */ |
narshu | 25:143b19c1fb05 | 89 | #ifndef TVMET_HAVE_MUTABLE |
narshu | 25:143b19c1fb05 | 90 | #define TVMET_HAVE_MUTABLE 1 |
narshu | 25:143b19c1fb05 | 91 | #endif |
narshu | 25:143b19c1fb05 | 92 | |
narshu | 25:143b19c1fb05 | 93 | /* Define if the compiler implements namespaces */ |
narshu | 25:143b19c1fb05 | 94 | #ifndef TVMET_HAVE_NAMESPACES |
narshu | 25:143b19c1fb05 | 95 | #define TVMET_HAVE_NAMESPACES 1 |
narshu | 25:143b19c1fb05 | 96 | #endif |
narshu | 25:143b19c1fb05 | 97 | |
narshu | 25:143b19c1fb05 | 98 | /* Define if the compiler supports partial specialization */ |
narshu | 25:143b19c1fb05 | 99 | #ifndef TVMET_HAVE_PARTIAL_SPECIALIZATION |
narshu | 25:143b19c1fb05 | 100 | #define TVMET_HAVE_PARTIAL_SPECIALIZATION 1 |
narshu | 25:143b19c1fb05 | 101 | #endif |
narshu | 25:143b19c1fb05 | 102 | |
narshu | 25:143b19c1fb05 | 103 | /* Define to 1 if you have the `pow' function. */ |
narshu | 25:143b19c1fb05 | 104 | #ifndef TVMET_HAVE_POW |
narshu | 25:143b19c1fb05 | 105 | #define TVMET_HAVE_POW 1 |
narshu | 25:143b19c1fb05 | 106 | #endif |
narshu | 25:143b19c1fb05 | 107 | |
narshu | 25:143b19c1fb05 | 108 | /* Define to 1 if you have the `rint' function. */ |
narshu | 25:143b19c1fb05 | 109 | |
narshu | 25:143b19c1fb05 | 110 | #ifdef TVMET_HAVE_RINT |
narshu | 25:143b19c1fb05 | 111 | #undef TVMET_HAVE_RINT |
narshu | 25:143b19c1fb05 | 112 | #endif |
narshu | 25:143b19c1fb05 | 113 | |
narshu | 25:143b19c1fb05 | 114 | /* Define to 1 if you have the `sqrt' function. */ |
narshu | 25:143b19c1fb05 | 115 | #ifndef TVMET_HAVE_SQRT |
narshu | 25:143b19c1fb05 | 116 | #define TVMET_HAVE_SQRT 1 |
narshu | 25:143b19c1fb05 | 117 | #endif |
narshu | 25:143b19c1fb05 | 118 | |
narshu | 25:143b19c1fb05 | 119 | /* Define to 1 if stdbool.h conforms to C99. */ |
narshu | 25:143b19c1fb05 | 120 | /* #undef TVMET_HAVE_STDBOOL_H */ |
narshu | 25:143b19c1fb05 | 121 | |
narshu | 25:143b19c1fb05 | 122 | /* Define to 1 if you have the <stdint.h> header file. */ |
narshu | 25:143b19c1fb05 | 123 | #ifdef TVMET_HAVE_STDINT_H |
narshu | 25:143b19c1fb05 | 124 | #undef TVMET_HAVE_STDINT_H |
narshu | 25:143b19c1fb05 | 125 | #endif |
narshu | 25:143b19c1fb05 | 126 | |
narshu | 25:143b19c1fb05 | 127 | /* Define to 1 if you have the <stdlib.h> header file. */ |
narshu | 25:143b19c1fb05 | 128 | #ifndef TVMET_HAVE_STDLIB_H |
narshu | 25:143b19c1fb05 | 129 | #define TVMET_HAVE_STDLIB_H 1 |
narshu | 25:143b19c1fb05 | 130 | #endif |
narshu | 25:143b19c1fb05 | 131 | |
narshu | 25:143b19c1fb05 | 132 | /* Define to 1 if you have the <strings.h> header file. */ |
narshu | 25:143b19c1fb05 | 133 | #ifdef TVMET_HAVE_STRINGS_H |
narshu | 25:143b19c1fb05 | 134 | #undef TVMET_HAVE_STRINGS_H |
narshu | 25:143b19c1fb05 | 135 | #endif |
narshu | 25:143b19c1fb05 | 136 | |
narshu | 25:143b19c1fb05 | 137 | /* Define to 1 if you have the <string.h> header file. */ |
narshu | 25:143b19c1fb05 | 138 | #ifndef TVMET_HAVE_STRING_H |
narshu | 25:143b19c1fb05 | 139 | #define TVMET_HAVE_STRING_H 1 |
narshu | 25:143b19c1fb05 | 140 | #endif |
narshu | 25:143b19c1fb05 | 141 | |
narshu | 25:143b19c1fb05 | 142 | /* Define if the compiler supports SYSV math library */ |
narshu | 25:143b19c1fb05 | 143 | /* #undef TVMET_HAVE_SYSV_MATH */ |
narshu | 25:143b19c1fb05 | 144 | |
narshu | 25:143b19c1fb05 | 145 | /* Define to 1 if you have the <sys/stat.h> header file. */ |
narshu | 25:143b19c1fb05 | 146 | #ifdef TVMET_HAVE_SYS_STAT_H |
narshu | 25:143b19c1fb05 | 147 | #undef TVMET_HAVE_SYS_STAT_H |
narshu | 25:143b19c1fb05 | 148 | #endif |
narshu | 25:143b19c1fb05 | 149 | |
narshu | 25:143b19c1fb05 | 150 | /* Define to 1 if you have the <sys/time.h> header file. */ |
narshu | 25:143b19c1fb05 | 151 | #ifdef TVMET_HAVE_SYS_TIME_H |
narshu | 25:143b19c1fb05 | 152 | #undef TVMET_HAVE_SYS_TIME_H |
narshu | 25:143b19c1fb05 | 153 | #endif |
narshu | 25:143b19c1fb05 | 154 | |
narshu | 25:143b19c1fb05 | 155 | /* Define to 1 if you have the <sys/types.h> header file. */ |
narshu | 25:143b19c1fb05 | 156 | #ifdef TVMET_HAVE_SYS_TYPES_H |
narshu | 25:143b19c1fb05 | 157 | #undef TVMET_HAVE_SYS_TYPES_H |
narshu | 25:143b19c1fb05 | 158 | #endif |
narshu | 25:143b19c1fb05 | 159 | |
narshu | 25:143b19c1fb05 | 160 | /* Define if the compiler recognizes typename */ |
narshu | 25:143b19c1fb05 | 161 | #ifndef TVMET_HAVE_TYPENAME |
narshu | 25:143b19c1fb05 | 162 | #define TVMET_HAVE_TYPENAME 1 |
narshu | 25:143b19c1fb05 | 163 | #endif |
narshu | 25:143b19c1fb05 | 164 | |
narshu | 25:143b19c1fb05 | 165 | /* Define to 1 if you have the <unistd.h> header file. */ |
narshu | 25:143b19c1fb05 | 166 | #ifdef TVMET_HAVE_UNISTD_H |
narshu | 25:143b19c1fb05 | 167 | #undef TVMET_HAVE_UNISTD_H |
narshu | 25:143b19c1fb05 | 168 | #endif |
narshu | 25:143b19c1fb05 | 169 | |
narshu | 25:143b19c1fb05 | 170 | /* Define to 1 if the system has the type `_Bool'. */ |
narshu | 25:143b19c1fb05 | 171 | /* #undef TVMET_HAVE__BOOL */ |
narshu | 25:143b19c1fb05 | 172 | |
narshu | 25:143b19c1fb05 | 173 | /* Define to the address where bug reports for this package should be sent. */ |
narshu | 25:143b19c1fb05 | 174 | #ifndef TVMET_PACKAGE_BUGREPORT |
narshu | 25:143b19c1fb05 | 175 | #define TVMET_PACKAGE_BUGREPORT "opetzold@users.sourceforge.net" |
narshu | 25:143b19c1fb05 | 176 | #endif |
narshu | 25:143b19c1fb05 | 177 | |
narshu | 25:143b19c1fb05 | 178 | /* Define to the full name of this package. */ |
narshu | 25:143b19c1fb05 | 179 | #ifndef TVMET_PACKAGE_NAME |
narshu | 25:143b19c1fb05 | 180 | #define TVMET_PACKAGE_NAME "tvmet" |
narshu | 25:143b19c1fb05 | 181 | #endif |
narshu | 25:143b19c1fb05 | 182 | |
narshu | 25:143b19c1fb05 | 183 | /* Define to the full name and version of this package. */ |
narshu | 25:143b19c1fb05 | 184 | #ifndef TVMET_PACKAGE_STRING |
narshu | 25:143b19c1fb05 | 185 | #define TVMET_PACKAGE_STRING "tvmet 1.7.2" |
narshu | 25:143b19c1fb05 | 186 | #endif |
narshu | 25:143b19c1fb05 | 187 | |
narshu | 25:143b19c1fb05 | 188 | /* Define to the one symbol short name of this package. */ |
narshu | 25:143b19c1fb05 | 189 | #ifndef TVMET_PACKAGE_TARNAME |
narshu | 25:143b19c1fb05 | 190 | #define TVMET_PACKAGE_TARNAME "tvmet" |
narshu | 25:143b19c1fb05 | 191 | #endif |
narshu | 25:143b19c1fb05 | 192 | |
narshu | 25:143b19c1fb05 | 193 | /* Define to the version of this package. */ |
narshu | 25:143b19c1fb05 | 194 | #ifndef TVMET_PACKAGE_VERSION |
narshu | 25:143b19c1fb05 | 195 | #define TVMET_PACKAGE_VERSION "1.7.2" |
narshu | 25:143b19c1fb05 | 196 | #endif |
narshu | 25:143b19c1fb05 | 197 | |
narshu | 25:143b19c1fb05 | 198 | /* Define to 1 if you have the ANSI C header files. */ |
narshu | 25:143b19c1fb05 | 199 | #ifndef TVMET_STDC_HEADERS |
narshu | 25:143b19c1fb05 | 200 | #define TVMET_STDC_HEADERS 1 |
narshu | 25:143b19c1fb05 | 201 | #endif |
narshu | 25:143b19c1fb05 | 202 | |
narshu | 25:143b19c1fb05 | 203 | /* Define to 1 if your <sys/time.h> declares `struct tm'. */ |
narshu | 25:143b19c1fb05 | 204 | /* #undef TVMET_TM_IN_SYS_TIME */ |
narshu | 25:143b19c1fb05 | 205 | |
narshu | 25:143b19c1fb05 | 206 | /* Define to empty if `const' does not conform to ANSI C. */ |
narshu | 25:143b19c1fb05 | 207 | /* #undef _tvmet_const */ |
narshu | 25:143b19c1fb05 | 208 | |
narshu | 25:143b19c1fb05 | 209 | /* Define to `__inline__' or `__inline' if that's what the C compiler |
narshu | 25:143b19c1fb05 | 210 | calls it, or to nothing if 'inline' is not supported under any name. */ |
narshu | 25:143b19c1fb05 | 211 | #ifndef __cplusplus |
narshu | 25:143b19c1fb05 | 212 | /* #undef _tvmet_inline */ |
narshu | 25:143b19c1fb05 | 213 | #endif |
narshu | 25:143b19c1fb05 | 214 | |
narshu | 25:143b19c1fb05 | 215 | /* Define to equivalent of C99 restrict keyword, or to nothing if this is not |
narshu | 25:143b19c1fb05 | 216 | supported. Do not define if restrict is supported directly. */ |
narshu | 25:143b19c1fb05 | 217 | // unfortunally, VC++ 7.1 doesn't have restrict. |
narshu | 25:143b19c1fb05 | 218 | #ifndef _tvmet_restrict |
narshu | 25:143b19c1fb05 | 219 | #define _tvmet_restrict |
narshu | 25:143b19c1fb05 | 220 | #endif |
narshu | 25:143b19c1fb05 | 221 | |
narshu | 25:143b19c1fb05 | 222 | /* Define to `unsigned' if <sys/types.h> does not define. */ |
narshu | 25:143b19c1fb05 | 223 | /* #undef _tvmet_size_t */ |
narshu | 25:143b19c1fb05 | 224 | |
narshu | 25:143b19c1fb05 | 225 | |
narshu | 25:143b19c1fb05 | 226 | |
narshu | 25:143b19c1fb05 | 227 | /******************************************************************* |
narshu | 25:143b19c1fb05 | 228 | * tvmet's config for special handling on MS VC |
narshu | 25:143b19c1fb05 | 229 | ******************************************************************/ |
narshu | 25:143b19c1fb05 | 230 | |
narshu | 25:143b19c1fb05 | 231 | |
narshu | 25:143b19c1fb05 | 232 | #if defined(_MSC_VER) |
narshu | 25:143b19c1fb05 | 233 | |
narshu | 25:143b19c1fb05 | 234 | /* The undefined case of TVMET_CXX_ALWAYS_INLINE is handled inside |
narshu | 25:143b19c1fb05 | 235 | * tvmet.h, so there there is no need to do this here! */ |
narshu | 25:143b19c1fb05 | 236 | |
narshu | 25:143b19c1fb05 | 237 | #else // !defined(_MSC_VER) |
narshu | 25:143b19c1fb05 | 238 | |
narshu | 25:143b19c1fb05 | 239 | // paranoia |
narshu | 25:143b19c1fb05 | 240 | # warning "config header for MS VC 7.1 included without defined _MSC_VER" |
narshu | 25:143b19c1fb05 | 241 | |
narshu | 25:143b19c1fb05 | 242 | #endif |
narshu | 25:143b19c1fb05 | 243 | |
narshu | 25:143b19c1fb05 | 244 | #endif // TVMET_CONFIG_VC71_H |
narshu | 25:143b19c1fb05 | 245 | |
narshu | 25:143b19c1fb05 | 246 | // Local Variables: |
narshu | 25:143b19c1fb05 | 247 | // mode:C++ |
narshu | 25:143b19c1fb05 | 248 | // End: |
narshu | 25:143b19c1fb05 | 249 | // LocalWords: autoheader |