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-2012 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 the epsilon to use on position comparison */
52 #define POSITION_EPS 0.1
53 
54 /* defines the number of digits after the comma in output */
55 #define OUTPUT_ACCURACY 2
56 
57 /* defines the number of digits after the comma in output of geo-coordinates */
58 #define GEO_OUTPUT_ACCURACY 6
59 
60 /* Define if auto-generated version.h should be used. */
61 //#define HAVE_VERSION_H 1
62 
63 /* Version number of package */
64 #ifndef HAVE_VERSION_H
65 #define VERSION_STRING "0.15.0"
66 #endif
67 
68 /* Define if junction internal lanes should be used. */
69 #define HAVE_INTERNAL_LANES 1
70 
71 /* Definition for the character function of Xerces */
72 #define XERCES3_SIZE_t XMLSize_t //Xerces >= 3.0
73 //#define XERCES3_SIZE_t unsigned int //Xerces < 3.0
74 
75 /* Define in order to enable subsecond timesteps. */
76 #define HAVE_SUBSECOND_TIMESTEPS 1
77 
78 /* define to use nvwa for memory leak checking */
79 //#define CHECK_MEMORY_LEAKS 1
80 
81 #endif