summaryrefslogtreecommitdiff
path: root/rts/Stable.h
diff options
context:
space:
mode:
authordmp@rice.edu <unknown>2010-06-24 16:35:14 +0000
committerdmp@rice.edu <unknown>2010-06-24 16:35:14 +0000
commita8f29216ea1f681b89fa4f55e00e404c6b0b2417 (patch)
treee8e48d40ca3c7b8389a6dd5bed81fbdb23a6ae0e /rts/Stable.h
parent920f106b8472089fb96eca537d1965256302301c (diff)
downloadhaskell-a8f29216ea1f681b89fa4f55e00e404c6b0b2417.tar.gz
Add #undefs for posix source symbols when including papi.h
Validation fails when validating with PAPI support (i.e. GhcRtsWithPapi = YES in validate.mk). The problem is that the posix symbols are defined by a header included from papi.h. Compilation then fails because these symbols are redefined in PosixSource.h. This patch adds an undefine for the posix symbols after including papi.h and before including PosixSource.h. The #undefines are localized to Papi.c since that is the only case where they are getting defined twice.
Diffstat (limited to 'rts/Stable.h')
0 files changed, 0 insertions, 0 deletions