From b28449e10c92c304434645872199d8f8cb2448b4 Mon Sep 17 00:00:00 2001 From: NRK Date: Wed, 15 Jun 2022 13:42:34 +0600 Subject: fix: don't use reserved identifiers identifiers beginning with an underscore is reserved by the C standard. --- config.def.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index 1e102fe..8db8983 100644 --- a/config.def.h +++ b/config.def.h @@ -1,4 +1,4 @@ -#ifdef _WINDOW_CONFIG +#ifdef INCLUDE_WINDOW_CONFIG /* default window dimensions (overwritten via -g option): */ static const int WIN_WIDTH = 800; @@ -20,7 +20,7 @@ static const bool TOP_STATUSBAR = false; #endif /* HAVE_LIBFONTS */ #endif -#ifdef _IMAGE_CONFIG +#ifdef INCLUDE_IMAGE_CONFIG /* levels (in percent) to use when zooming via '-' and '+': * (first/last value is used as min/max zoom level) @@ -62,7 +62,7 @@ static const int CACHE_SIZE_LIMIT = 256 * 1024 * 1024; /* but not above 256MiB static const int CACHE_SIZE_FALLBACK = 32 * 1024 * 1024; /* fallback to 32MiB if we can't determine total memory */ #endif -#ifdef _THUMBS_CONFIG +#ifdef INCLUDE_THUMBS_CONFIG /* thumbnail sizes in pixels (width == height): */ static const int thumb_sizes[] = { 32, 64, 96, 128, 160 }; @@ -71,7 +71,7 @@ static const int thumb_sizes[] = { 32, 64, 96, 128, 160 }; static const int THUMB_SIZE = 3; #endif -#ifdef _MAPPINGS_CONFIG +#ifdef INCLUDE_MAPPINGS_CONFIG /* these modifiers will be used when processing keybindings */ static const unsigned int USED_MODMASK = ShiftMask | ControlMask | Mod1Mask; -- cgit v1.2.3