Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove a file associated to a test that got removed recently
[simgrid.git] / include / simgrid_config.h.in
1 /* simgrid_config.h - Results of the configure made visible to user code    */
2
3 /* Copyright (c) 2009-2014. The SimGrid Team.
4  * All rights reserved.                                                     */
5
6 /* This program is free software; you can redistribute it and/or modify it
7  * under the terms of the license (GNU LGPL) which comes with this package. */
8
9 #ifndef SIMGRID_PUBLIC_CONFIG_H
10 #define SIMGRID_PUBLIC_CONFIG_H
11
12 /** Define the version numbers of the used header files. 
13     sg_version() can be used to retrieve the version of the dynamic library.
14     But actually, if these numbers don't match, SimGrid refuses to start (so you shouldn't have to care about sg_version() yourself) */
15
16 #define SIMGRID_VERSION_MAJOR @SIMGRID_VERSION_MAJOR@
17 #define SIMGRID_VERSION_MINOR @SIMGRID_VERSION_MINOR@
18 #define SIMGRID_VERSION_PATCH @SIMGRID_VERSION_PATCH@
19
20 #define SIMGRID_VERSION_STRING "@SIMGRID_VERSION_STRING@"
21
22 /* Version X.Y.Z will get version number XYZ: all digits concatenated without dots
23  * (with Y and Z must be on two positions)*/
24
25 #define MAKE_SIMGRID_VERSION(major, minor, patch)       \
26   (100UL * (100UL * (major) + (minor)) + (patch))
27 #define SIMGRID_VERSION MAKE_SIMGRID_VERSION(SIMGRID_VERSION_MAJOR, \
28                                              SIMGRID_VERSION_MINOR, \
29                                              SIMGRID_VERSION_PATCH)
30
31 /* take care of DLL usage madness */
32
33 #ifdef _XBT_DLL_EXPORT
34         #ifndef DLL_EXPORT
35                 #define DLL_EXPORT
36         #endif
37 #else
38         #ifdef _XBT_DLL_STATIC
39                 #ifndef DLL_STATIC
40                         #define DLL_STATIC
41                 #endif
42         #else
43                 #ifndef DLL_EXPORT
44                         #define DLL_IMPORT
45                 #endif
46         #endif
47 #endif
48
49 #cmakedefine _XBT_WIN32 @_XBT_WIN32@    /*this variable is set if it is a windows platform*/
50 #cmakedefine _WIN32 @_WIN32@                    /*this variable is set if it is a 32 bits windows platform*/
51 #cmakedefine _WIN64 @_WIN64@                    /*this variable is set if it is a 64 bits  windows platform*/
52 #cmakedefine __VISUALC__ @__VISUALC__@
53 #cmakedefine __BORLANDC__ @__BORLANDC__@
54 #ifdef _XBT_WIN32
55         #ifndef __GNUC__
56                 #cmakedefine __GNUC__ @__GNUC__@
57         #endif
58 #endif
59
60
61 /* Define to 1 if mmalloc is compiled in. */
62 #cmakedefine HAVE_MMALLOC @HAVE_MMALLOC@
63
64 /* Get the config */
65 #undef SIMGRID_NEED_ASPRINTF
66 #undef SIMGRID_NEED_VASPRINTF
67 @simgrid_need_asprintf@
68 @simgrid_need_vasprintf@
69
70 /* Whether mallocators were enabled in ccmake or not. */
71 #define MALLOCATOR_COMPILED_IN @MALLOCATOR_IS_WANTED@
72
73 /* Define if xbt contexts are based on our threads implementation or not */
74 #cmakedefine CONTEXT_THREADS @CONTEXT_THREADS@
75
76 /* Jedule output  */
77 #cmakedefine HAVE_JEDULE @HAVE_JEDULE@
78
79 /* Tracking of latency bound */
80 #cmakedefine HAVE_LATENCY_BOUND_TRACKING @HAVE_LATENCY_BOUND_TRACKING@
81
82 /* If __thread is available */
83 #cmakedefine HAVE_THREAD_LOCAL_STORAGE @HAVE_THREAD_LOCAL_STORAGE@
84
85 /* If Model-Checking support was requested */
86 #cmakedefine HAVE_MC @HAVE_MC@
87
88 #endif /* SIMGRID_PUBLIC_CONFIG_H */