rts/Printer.c: always define the findPtr symbol
authorAlp Mestanogullari <alp@well-typed.com>
Wed, 12 Sep 2018 22:06:02 +0000 (18:06 -0400)
committerBen Gamari <ben@smart-cactus.org>
Wed, 12 Sep 2018 22:06:44 +0000 (18:06 -0400)
commit900c47f88784b91517c00be3e1087322e62f698e
tree7d599df22acf069948988607f474708cb3441e26
parent5c48c41239ee2a6228ff469cab8e06763d485c77
rts/Printer.c: always define the findPtr symbol

It was previously only defined (and therefore shipped) when DEBUG is
defined.  This patch defines it regardless of DEBUG. This will help fix
hadrian on OS X [1].

[1]: https://github.com/snowleopard/hadrian/issues/614

Test Plan: The error from hadrian#614 is gone

Reviewers: bgamari, erikd, simonmar

Reviewed By: simonmar

Subscribers: rwbarton, carter

Differential Revision: https://phabricator.haskell.org/D5138
rts/Printer.c
rts/package.conf.in