mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-18 22:42:36 +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
|
#ifndef WASSERT_HPP_INCLUDED
|
||||||
#define 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>
|
#include <cassert>
|
||||||
#define wassert assert
|
#define wassert assert
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user