|
SUMO - Simulation of Urban MObility
|
00001 /****************************************************************************/ 00007 // The general windows configuration file 00008 /****************************************************************************/ 00009 // SUMO, Simulation of Urban MObility; see http://sumo.sourceforge.net/ 00010 // Copyright (C) 2001-2011 DLR (http://www.dlr.de/) and contributors 00011 /****************************************************************************/ 00012 // 00013 // This program is free software; you can redistribute it and/or modify 00014 // it under the terms of the GNU General Public License as published by 00015 // the Free Software Foundation; either version 2 of the License, or 00016 // (at your option) any later version. 00017 // 00018 /****************************************************************************/ 00019 #ifndef config_h 00020 #define config_h 00021 00022 #ifndef _MSC_VER 00023 #error This file is for MSVC compilation only. GCC should use configure generated config.h. 00024 #endif 00025 00026 /* Disable "identifier truncated in debug info" warnings. */ 00027 #pragma warning(disable: 4786) 00028 /* Disable "C++ Exception Specification ignored" warnings */ 00029 #pragma warning(disable: 4290) 00030 00031 /* Disable "unsafe" warnings for crt functions in VC++ 2005. */ 00032 #if _MSC_VER >= 1400 00033 #define _CRT_SECURE_NO_WARNINGS 00034 #endif 00035 00036 #ifndef WIN32 00037 #define WIN32 00038 #endif 00039 00040 /* Define for dynamic Fox linkage */ 00041 #define FOXDLL 1 00042 00043 /* defines the precision of floats */ 00044 #define SUMOReal double 00045 00046 /* defines the epsilon to use on position comparison */ 00047 #define POSITION_EPS 0.1 00048 00049 /* defines the number of digits after the comma in output */ 00050 #define OUTPUT_ACCURACY 2 00051 00052 /* defines the number of digits after the comma in output of geo-coordinates */ 00053 #define GEO_OUTPUT_ACCURACY 6 00054 00055 /* Define if auto-generated version.h should be used. */ 00056 //#define HAVE_VERSION_H 1 00057 00058 /* Version number of package */ 00059 #ifndef HAVE_VERSION_H 00060 #define VERSION_STRING "0.13.1" 00061 #endif 00062 00063 /* Define if junction internal lanes should be used. */ 00064 #define HAVE_INTERNAL_LANES 1 00065 00066 /* Definition for the character function of Xerces */ 00067 #define XERCES3_SIZE_t XMLSize_t //Xerces >= 3.0 00068 //#define XERCES3_SIZE_t unsigned int //Xerces < 3.0 00069 00070 /* Define in order to enable subsecond timesteps. */ 00071 #define HAVE_SUBSECOND_TIMESTEPS 1 00072 00073 /* define to use nvwa for memory leak checking */ 00074 //#define CHECK_MEMORY_LEAKS 1 00075 00076 #endif