summaryrefslogtreecommitdiff
path: root/src/lib/efl/config.h.cmake
blob: f664e5266568798e49251560b025286dc74b7f43 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#ifndef CONFIG_H
#define CONFIG_H

#define _GNU_SOURCE

#include "config_headers.h"

#define VMAJ @PROJECT_VERSION_MAJOR@
#define VMIN @PROJECT_VERSION_MINOR@
#define VMIC @PROJECT_VERSION_PATCH@
#define VREV @PROJECT_VERSION_TWEAK@

#cmakedefine NVALGRIND 1

#cmakedefine EINA_STATIC_BUILD_CHAINED_POOL 1
#cmakedefine EINA_STATIC_BUILD_ONE_BIG 1
#cmakedefine EINA_STATIC_BUILD_PASS_THROUGH 1

#define MODULE_ARCH "v-@PROJECT_VERSION_MAJOR@.@PROJECT_VERSION_MINOR@"
#define SHARED_LIB_SUFFIX "@CMAKE_SHARED_LIBRARY_SUFFIX@"
#define EXEEXT "@CMAKE_EXECUTABLE_SUFFIX@"

#if defined (HAVE_LISTXATTR) && defined (HAVE_SETXATTR) && defined (HAVE_GETXATTR)
#define HAVE_XATTR
#endif

//for now statically define that to one
#define STRERROR_R_CHAR_P 1

#cmakedefine EFL_ALWAYS_INLINE @EFL_ALWAYS_INLINE@
#cmakedefine EFL_HAVE_OSX_SPINLOCK 1
#cmakedefine EFL_HAVE_POSIX_THREADS_SPINLOCK 1
#cmakedefine EFL_HAVE_THREADS 1

#endif