1
0
mirror of https://gitlab.com/80486DX2-66/gists synced 2024-12-26 11:30:03 +05:30

freadln.c: test: add extra parentheses for x in a macro

This commit is contained in:
Intel A80486DX2-66 2024-04-07 17:50:39 +03:00
parent 1925a88e7a
commit cf291335b7
Signed by: 80486DX2-66
GPG Key ID: 83631EF27054609B

View File

@ -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__) || \