SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
windows_config.h
Go to the documentation of this file.
1 /****************************************************************************/
12 // The general windows configuration file
13 /****************************************************************************/
14 // SUMO, Simulation of Urban MObility; see http://sumo.dlr.de/
15 // Copyright (C) 2001-2015 DLR (http://www.dlr.de/) and contributors
16 /****************************************************************************/
17 //
18 // This file is part of SUMO.
19 // SUMO is free software: you can redistribute it and/or modify
20 // it under the terms of the GNU General Public License as published by
21 // the Free Software Foundation, either version 3 of the License, or
22 // (at your option) any later version.
23 //
24 /****************************************************************************/
25 #ifndef config_h
26 #define config_h
27 
28 #ifndef _MSC_VER
29 #error This file is for MSVC compilation only. GCC should use configure generated config.h.
30 #endif
31 
32 /* Disable "identifier truncated in debug info" warnings. */
33 #pragma warning(disable: 4786)
34 /* Disable "C++ Exception Specification ignored" warnings */
35 #pragma warning(disable: 4290)
36 
37 /* Disable "unsafe" warnings for crt functions in VC++ 2005. */
38 #if _MSC_VER >= 1400
39 #define _CRT_SECURE_NO_WARNINGS
40 #endif
41 
42 #ifndef WIN32
43 #define WIN32
44 #endif
45 
46 /* Define for dynamic Fox linkage */
47 #define FOXDLL 1
48 
49 /* Define if FOX toolkit is present. */
50 #define HAVE_FOX 1
51 
52 /* defines the precision of floats */
53 #define SUMOReal double
54 
55 /* defines a long */
56 #define SUMOLong long long
57 
58 /* defines the epsilon to use on position comparison */
59 #define POSITION_EPS (SUMOReal)0.1
60 
61 /* defines the epsilon to use on general floating point comparison */
62 #define NUMERICAL_EPS (SUMOReal)0.001
63 
64 /* defines the number of digits after the comma in output */
65 #define OUTPUT_ACCURACY 2
66 
67 /* defines the number of digits after the comma in output of geo-coordinates */
68 #define GEO_OUTPUT_ACCURACY 6
69 
70 /* Define if auto-generated version.h should be used. */
71 //#define HAVE_VERSION_H 1
72 
73 /* Version number of package */
74 #ifndef HAVE_VERSION_H
75 #define VERSION_STRING "0.23.0"
76 #endif
77 
78 /* Define if junction internal lanes should be used. */
79 #define HAVE_INTERNAL_LANES 1
80 
81 /* Definition for the character function of Xerces */
82 #define XERCES3_SIZE_t XMLSize_t //Xerces >= 3.0
83 //#define XERCES3_SIZE_t unsigned int //Xerces < 3.0
84 
85 /* Define in order to enable subsecond timesteps. */
86 #define HAVE_SUBSECOND_TIMESTEPS 1
87 
88 /* define to use nvwa for memory leak checking */
89 //#define CHECK_MEMORY_LEAKS 1
90 
91 /* work around missing snprintf function (WARNING: return value semantics differ) */
92 #define snprintf _snprintf
93 
94 #endif