-
Notifications
You must be signed in to change notification settings - Fork 96
/
qbconfig.h.in
47 lines (40 loc) · 1.33 KB
/
qbconfig.h.in
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
36
37
38
39
40
41
42
43
44
45
46
47
/*
* Copyright (C) 2011 Red Hat, Inc.
*
* All rights reserved.
*
* Author: Angus Salkeld <asalkeld@redhat.com>
*
* libqb is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 2.1 of the License, or
* (at your option) any later version.
*
* libqb is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with libqb. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef QB_CONFIG_H_DEFINED
#define QB_CONFIG_H_DEFINED
#include <qb/qbdefs.h> /* QB_PP_STRINGIFY */
/* need atomic memory barrier */
#undef QB_ATOMIC_OP_MEMORY_BARRIER_NEEDED
/* Enabling code using __attribute__((section)) */
#undef QB_HAVE_ATTRIBUTE_SECTION
/* versioning info: MAJOR, MINOR, PATCH, and REST components */
#undef QB_VER_MAJOR
#undef QB_VER_MINOR
#undef QB_VER_PATCH
#undef QB_VER_REST
#define QB_VER_STR \
QB_PP_STRINGIFY(QB_VER_MAJOR) \
"." \
QB_PP_STRINGIFY(QB_VER_MINOR) \
"." \
QB_PP_STRINGIFY(QB_VER_PATCH) \
QB_VER_REST
#endif /* QB_CONFIG_H_DEFINED */