From b911b2f6edaa8ee45b1f860ddf0cf061ccc96e1f Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Tue, 7 Jan 2020 22:39:29 +0100 Subject: Only define likely/unlikely if APT_COMPILING_APT set This ensures that we do not leak simple words like that. --- CMake/config.h.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CMake') diff --git a/CMake/config.h.in b/CMake/config.h.in index b89f7297d..911d42464 100644 --- a/CMake/config.h.in +++ b/CMake/config.h.in @@ -64,6 +64,9 @@ /* The mail address to reach upstream */ #define PACKAGE_MAIL "${PACKAGE_MAIL}" +/* Guard for code that should only be emitted when compiling apt */ +#define APT_COMPILING_APT + /* Various directories */ #cmakedefine CMAKE_INSTALL_FULL_BINDIR "${CMAKE_INSTALL_FULL_BINDIR}" #cmakedefine STATE_DIR "${STATE_DIR}" -- cgit v1.2.3