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-2017 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 "decorated name length exceeded, name was truncated" warnings. */
33 #pragma warning(disable: 4503)
34 /* Disable "identifier truncated in debug info" warnings. */
35 #pragma warning(disable: 4786)
36 /* Disable "C++ Exception Specification ignored" warnings */
37 #pragma warning(disable: 4290)
38 /* Disable DLL-Interface warnings */
39 #pragma warning(disable: 4251)
40 
41 /* Disable "unsafe" warnings for crt functions in VC++ 2005. */
42 #if _MSC_VER >= 1400
43 #define _CRT_SECURE_NO_WARNINGS
44 #endif
45 
46 #ifndef WIN32
47 #define WIN32
48 #endif
49 
50 /* Define for dynamic Fox linkage */
51 #define FOXDLL 1
52 
53 /* defines the epsilon to use on position comparison */
54 #define POSITION_EPS 0.1
55 
56 /* defines the epsilon to use on general floating point comparison */
57 #define NUMERICAL_EPS 0.001
58 
59 /* Define if auto-generated version.h should be used. */
60 //#define HAVE_VERSION_H 1
61 
62 /* Version number of package */
63 #ifndef HAVE_VERSION_H
64 #define VERSION_STRING "0.30.0"
65 #endif
66 
67 /* Definition for the character function of Xerces */
68 #define XERCES3_SIZE_t XMLSize_t //Xerces >= 3.0
69 //#define XERCES3_SIZE_t unsigned int //Xerces < 3.0
70 
71 #endif