tests: use GMIO_PRAGMA_MSVC_WARNING_XXX()
This commit is contained in:
parent
efeb15f36a
commit
47b134797a
@ -22,10 +22,8 @@
|
|||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
/* Disable MSVC warning "conditional expression is constant" */
|
||||||
# pragma warning(push)
|
GMIO_PRAGMA_MSVC_WARNING_PUSH_AND_DISABLE(4127)
|
||||||
# pragma warning(disable : 4127) /* "conditional expression is constant" */
|
|
||||||
#endif
|
|
||||||
|
|
||||||
const char* test_platform__alignment()
|
const char* test_platform__alignment()
|
||||||
{
|
{
|
||||||
@ -105,6 +103,4 @@ const char* test_platform__compiler()
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
GMIO_PRAGMA_MSVC_WARNING_POP()
|
||||||
# pragma warning(pop)
|
|
||||||
#endif
|
|
||||||
|
Loading…
Reference in New Issue
Block a user