Eurobot2012_Secondary

Fork of Eurobot_2012_Secondary by Shuto Naruse

Committer:
narshu
Date:
Wed Oct 17 22:25:31 2012 +0000
Revision:
1:cc2a9eb0bd55
Commit before publishing

Who changed what in which revision?

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