mirror of
https://gitlab.com/80486DX2-66/gists
synced 2024-12-27 05:40:17 +05:30
freadln.c: test: add extra parentheses for x
in a macro
This commit is contained in:
parent
1925a88e7a
commit
cf291335b7
@ -85,7 +85,7 @@ int freadln(FILE* f, char** output, size_t* length_out) {
|
|||||||
# define DO_SLEEP 1
|
# define DO_SLEEP 1
|
||||||
# elif defined(_WIN32) || defined(WIN32)
|
# elif defined(_WIN32) || defined(WIN32)
|
||||||
# include <windows.h>
|
# include <windows.h>
|
||||||
# define SLEEP_FN(x) Sleep((DWORD) x)
|
# define SLEEP_FN(x) Sleep((DWORD) (x))
|
||||||
# define DO_SLEEP 1
|
# define DO_SLEEP 1
|
||||||
# elif defined(__CYGWIN__) || defined(__unix__) || (defined(__APPLE__) && \
|
# elif defined(__CYGWIN__) || defined(__unix__) || (defined(__APPLE__) && \
|
||||||
defined(__MACH__)) || defined(__linux__) || defined(__FreeBSD__) || \
|
defined(__MACH__)) || defined(__linux__) || defined(__FreeBSD__) || \
|
||||||
|
Loading…
Reference in New Issue
Block a user