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