summaryrefslogtreecommitdiff
path: root/rpmdb
diff options
context:
space:
mode:
Diffstat (limited to 'rpmdb')
-rw-r--r--rpmdb/legacy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdb/legacy.c b/rpmdb/legacy.c
index 5fa0431ad..b97d67b70 100644
--- a/rpmdb/legacy.c
+++ b/rpmdb/legacy.c
@@ -170,7 +170,7 @@ int domd5(const char * fn, unsigned char * digest, int asAscii, size_t *fsizep)
switch(ut) {
case URL_IS_PATH:
case URL_IS_UNKNOWN:
-#if HAVE_MMAP
+#ifdef HAVE_MMAP
if (pid == 0) {
DIGEST_CTX ctx;
void * mapped;