SUMO - Simulation of Urban MObility
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-2016 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
/* Disable DLL-Interface warnings */
37
#pragma warning(disable: 4251)
38
39
/* Disable "unsafe" warnings for crt functions in VC++ 2005. */
40
#if _MSC_VER >= 1400
41
#define _CRT_SECURE_NO_WARNINGS
42
#endif
43
44
#ifndef WIN32
45
#define WIN32
46
#endif
47
48
/* Define for dynamic Fox linkage */
49
#define FOXDLL 1
50
51
/* defines the precision of floats */
52
#define SUMOReal double
53
54
/* defines the epsilon to use on position comparison */
55
#define POSITION_EPS (SUMOReal)0.1
56
57
/* defines the epsilon to use on general floating point comparison */
58
#define NUMERICAL_EPS (SUMOReal)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.28.0"
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 to use nvwa for memory leak checking */
82
//#define CHECK_MEMORY_LEAKS 1
83
84
/* work around missing snprintf function (WARNING: return value semantics differ) */
85
#define snprintf _snprintf
86
87
#endif
src
windows_config.h
Generated on Tue Nov 8 2016 21:47:32 for SUMO - Simulation of Urban MObility by
1.8.12