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