summaryrefslogtreecommitdiff
path: root/CMake
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2020-01-07 22:35:10 +0000
committerJulian Andres Klode <jak@debian.org>2020-01-07 22:35:10 +0000
commitd3636f2666b77eb17b261300cb91eb912e2789c6 (patch)
tree04aef1499999672f8e53ee1b7b56023844d519b6 /CMake
parent1b3e0a6a4bf673bd7d1da4a481eeb0a436430be8 (diff)
parentb911b2f6edaa8ee45b1f860ddf0cf061ccc96e1f (diff)
Merge branch 'pu/macro-cleanup' into 'master'
Pu/macro cleanup See merge request apt-team/apt!91
Diffstat (limited to 'CMake')
-rw-r--r--CMake/config.h.in3
1 files changed, 3 insertions, 0 deletions
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}"