diff --git a/DDCore/include/DD4hep/config.h b/DDCore/include/DD4hep/config.h
index 2a3a2b3fdb4e7301a31cbeec1861b19444b1ac3c..f4ba76341e938e1ece7210acb33e1cd7f917366c 100644
--- a/DDCore/include/DD4hep/config.h
+++ b/DDCore/include/DD4hep/config.h
@@ -26,10 +26,10 @@
 #if !defined(DD4HEP_CONDITIONS_DEBUG)
 /// Enable this if you want to minimize the footprint of conditions
 #define DD4HEP_MINIMAL_CONDITIONS   1
-#else
+#endif
+
 /// Enable flag to store conditions names to keys (needs some support from user code!)
 #define DD4HEP_CONDITIONS_HAVE_NAME 1
-#endif
 
 /// Valid implementations of the Gaudi plugin service are 1 and 2
 #define DD4HEP_PLUGINSVC_VERSION 2