/* * Copyright (C) 2010-2020 Red Hat, Inc. * * All rights reserved. * * Author: Angus Salkeld * * 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 . */ #ifndef QB_CONFIG_H_DEFINED #define QB_CONFIG_H_DEFINED #include /* QB_PP_STRINGIFY */ /* need atomic memory barrier */ #undef QB_ATOMIC_OP_MEMORY_BARRIER_NEEDED /* versioning info: MAJOR, MINOR, MICRO, and REST components; note that static compile-time info is not that useful as consulting the respectively named members of qb_version struct constant under @c qb_ver identifier (or @c qb_ver_str equivalent of the local upper-cased value) directly from libqb in run-time (see qbutil.h), but that was only introduced after v1.0.2 */ #undef QB_VER_MAJOR #undef QB_VER_MINOR #undef QB_VER_MICRO #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_MICRO) \ QB_VER_REST #endif /* QB_CONFIG_H_DEFINED */