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