|
Packit Service |
f88c7f |
/* include/qb/qbconfig.h. Generated from qbconfig.h.in by configure. */
|
|
Packit Service |
f88c7f |
/*
|
|
Packit Service |
f88c7f |
* Copyright (C) 2011 Red Hat, Inc.
|
|
Packit Service |
f88c7f |
*
|
|
Packit Service |
f88c7f |
* All rights reserved.
|
|
Packit Service |
f88c7f |
*
|
|
Packit Service |
f88c7f |
* Author: Angus Salkeld <asalkeld@redhat.com>
|
|
Packit Service |
f88c7f |
*
|
|
Packit Service |
f88c7f |
* libqb is free software: you can redistribute it and/or modify
|
|
Packit Service |
f88c7f |
* it under the terms of the GNU Lesser General Public License as published by
|
|
Packit Service |
f88c7f |
* the Free Software Foundation, either version 2.1 of the License, or
|
|
Packit Service |
f88c7f |
* (at your option) any later version.
|
|
Packit Service |
f88c7f |
*
|
|
Packit Service |
f88c7f |
* libqb is distributed in the hope that it will be useful,
|
|
Packit Service |
f88c7f |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
f88c7f |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
Packit Service |
f88c7f |
* GNU Lesser General Public License for more details.
|
|
Packit Service |
f88c7f |
*
|
|
Packit Service |
f88c7f |
* You should have received a copy of the GNU Lesser General Public License
|
|
Packit Service |
f88c7f |
* along with libqb. If not, see <http://www.gnu.org/licenses/>.
|
|
Packit Service |
f88c7f |
*/
|
|
Packit Service |
f88c7f |
|
|
Packit Service |
f88c7f |
#ifndef QB_CONFIG_H_DEFINED
|
|
Packit Service |
f88c7f |
#define QB_CONFIG_H_DEFINED
|
|
Packit Service |
f88c7f |
|
|
Packit Service |
f88c7f |
#include <qb/qbdefs.h> /* QB_PP_STRINGIFY */
|
|
Packit Service |
f88c7f |
|
|
Packit Service |
f88c7f |
/* need atomic memory barrier */
|
|
Packit Service |
f88c7f |
#define QB_ATOMIC_OP_MEMORY_BARRIER_NEEDED 1
|
|
Packit Service |
f88c7f |
|
|
Packit Service |
f88c7f |
/* Enabling code using __attribute__((section)) */
|
|
Packit Service |
f88c7f |
#define QB_HAVE_ATTRIBUTE_SECTION 1
|
|
Packit Service |
f88c7f |
|
|
Packit Service |
f88c7f |
/* versioning info: MAJOR, MINOR, MICRO, and REST components;
|
|
Packit Service |
f88c7f |
note that static compile-time info is not that useful as consulting
|
|
Packit Service |
f88c7f |
the respectively named members of qb_version struct constant under
|
|
Packit Service |
f88c7f |
@c qb_ver identifier (or @c qb_ver_str equivalent of the local
|
|
Packit Service |
f88c7f |
upper-cased value) directly from libqb in run-time (see qbutil.h),
|
|
Packit Service |
f88c7f |
but that was only introduced after v1.0.2 */
|
|
Packit Service |
f88c7f |
#define QB_VER_MAJOR 1
|
|
Packit Service |
f88c7f |
#define QB_VER_MINOR 0
|
|
Packit Service |
f88c7f |
#define QB_VER_MICRO 3
|
|
Packit Service |
f88c7f |
#define QB_VER_REST ""
|
|
Packit Service |
f88c7f |
|
|
Packit Service |
f88c7f |
#define QB_VER_STR \
|
|
Packit Service |
f88c7f |
QB_PP_STRINGIFY(QB_VER_MAJOR) \
|
|
Packit Service |
f88c7f |
"." \
|
|
Packit Service |
f88c7f |
QB_PP_STRINGIFY(QB_VER_MINOR) \
|
|
Packit Service |
f88c7f |
"." \
|
|
Packit Service |
f88c7f |
QB_PP_STRINGIFY(QB_VER_MICRO) \
|
|
Packit Service |
f88c7f |
QB_VER_REST
|
|
Packit Service |
f88c7f |
|
|
Packit Service |
f88c7f |
#endif /* QB_CONFIG_H_DEFINED */
|