rts/package.conf.in: Fix CPP usage
authorErik de Castro Lopo <erikd@mega-nerd.com>
Sat, 22 Oct 2016 23:16:10 +0000 (00:16 +0100)
committerMatthew Pickering <matthewtpickering@gmail.com>
Sat, 22 Oct 2016 23:16:10 +0000 (00:16 +0100)
Summary:
The configure script sets `HAVE_LIBNUMA` to either `0` or `1` but this
file had `#ifdef HAVE_LIBNUMA`. This surfaced as a side-effect of
1050e46b5b. CPP is really hard to get right.

Test Plan: Validate on harbourmaster

Reviewers: simonmar, bgamari, austin, mpickering

Reviewed By: mpickering

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D2631

rts/package.conf.in

index 03848c4..5d8ab8b 100644 (file)
@@ -37,7 +37,7 @@ extra-libraries:
 #ifdef HAVE_LIBFFI
                               , "ffi"
 #endif
-#ifdef HAVE_LIBNUMA
+#if HAVE_LIBNUMA
                               , "numa"
 #endif
 #ifdef mingw32_HOST_OS