Revert "Tweaks to nhassert implementation. Change to warnings on MSC build."

This reverts commit 2f3da35c68.
This commit is contained in:
Bart House
2019-07-14 21:15:01 -07:00
parent ec05e1ec70
commit 177bd39646
5 changed files with 4 additions and 44 deletions

View File

@@ -378,7 +378,7 @@ struct savefile_info {
/* Supply nhassert macro if not supplied by port */
#ifndef nhassert
#define nhassert(expression) (void)((!!(expression)) || \
(nhassert_failed(__FILE__, __LINE__), 0))
(nhassert_failed(#expression, __FILE__, __LINE__), 0))
#endif
#endif /* GLOBAL_H */