Define "NOMINMAX" to ensure `<limits>` works.
See also: https://stackoverflow.com/questions/2561368/illegal-token-on-right-side-of Resolves #149. Signed-off-by: Tao He <sighingnow@gmail.com>
This commit is contained in:
parent
bd42e7129e
commit
89ae8a5ee4
|
|
@ -1,3 +1,8 @@
|
||||||
|
#if defined(_WIN32)
|
||||||
|
// see also: https://stackoverflow.com/questions/2561368/illegal-token-on-right-side-of
|
||||||
|
#define NOMINMAX
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Catch v2.13.6
|
* Catch v2.13.6
|
||||||
* Generated: 2021-04-16 18:23:38.044268
|
* Generated: 2021-04-16 18:23:38.044268
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,8 @@
|
||||||
|
#if defined(_WIN32)
|
||||||
|
// see also: https://stackoverflow.com/questions/2561368/illegal-token-on-right-side-of
|
||||||
|
#define NOMINMAX
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <pplx/pplxtasks.h>
|
#include <pplx/pplxtasks.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,8 @@
|
||||||
|
#if defined(_WIN32)
|
||||||
|
// see also: https://stackoverflow.com/questions/2561368/illegal-token-on-right-side-of
|
||||||
|
#define NOMINMAX
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue