summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Klebinger <klebinger.andreas@gmx.at>2020-01-29 11:36:54 -0500
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-02-08 10:25:20 -0500
commitdfdae56d2ea9b9841e747c36cdff63a826045805 (patch)
treeda0df50384318cbe64c0cc88b59687ef79b6d72f
parent5d83d9489f383cc940ce123d9385c5cad1af517d (diff)
downloadhaskell-dfdae56d2ea9b9841e747c36cdff63a826045805.tar.gz
Rename ghcAssert to stgAssert in hp2ps/Main.h.
This fixes #17763
-rw-r--r--utils/hp2ps/Main.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/hp2ps/Main.h b/utils/hp2ps/Main.h
index 9849e49327..da856f4884 100644
--- a/utils/hp2ps/Main.h
+++ b/utils/hp2ps/Main.h
@@ -13,13 +13,13 @@
#define ASSERT(predicate) /*nothing*/
#else
-void _ghcAssert PROTO((char *, unsigned int));
+void _stgAssert PROTO((char *, unsigned int));
#define ASSERT(predicate) \
if (predicate) \
/*null*/; \
else \
- _ghcAssert(__FILE__, __LINE__)
+ _stgAssert(__FILE__, __LINE__)
#endif
/* partain: some ubiquitous types: floatish & intish.