Commit dfdae56d authored by Andreas Klebinger's avatar Andreas Klebinger Committed by Marge Bot

Rename ghcAssert to stgAssert in hp2ps/Main.h.

This fixes #17763
parent 5d83d948
Pipeline #15562 passed with stages
in 663 minutes and 35 seconds
...@@ -13,13 +13,13 @@ ...@@ -13,13 +13,13 @@
#define ASSERT(predicate) /*nothing*/ #define ASSERT(predicate) /*nothing*/
#else #else
void _ghcAssert PROTO((char *, unsigned int)); void _stgAssert PROTO((char *, unsigned int));
#define ASSERT(predicate) \ #define ASSERT(predicate) \
if (predicate) \ if (predicate) \
/*null*/; \ /*null*/; \
else \ else \
_ghcAssert(__FILE__, __LINE__) _stgAssert(__FILE__, __LINE__)
#endif #endif
/* partain: some ubiquitous types: floatish & intish. /* partain: some ubiquitous types: floatish & intish.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment