mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-18 16:21:40 +00:00
fixes to make compile on VC++
This commit is contained in:
parent
a2911632ed
commit
504ba104c4
@ -12,15 +12,7 @@
|
||||
#ifndef WASSERT_HPP_INCLUDED
|
||||
#define WASSERT_HPP_INCLUDED
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# define STANDARD_ASSERT_DOES_NOT_WORK
|
||||
#endif
|
||||
|
||||
#ifdef STANDARD_ASSERT_DOES_NOT_WORK
|
||||
void wassert(bool expression);
|
||||
#else
|
||||
#include <cassert>
|
||||
#define wassert assert
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user