File tree Expand file tree Collapse file tree 4 files changed +17
-5
lines changed Expand file tree Collapse file tree 4 files changed +17
-5
lines changed Original file line number Diff line number Diff line change 11MULTICALL = 1
22CFLAGS = -Os -g -Wall -W
3- CFLAGS += -std=c23
3+ CFLAGS += -std=c2x
44PREFIX = /usr/local
55RST2MAN = rst2man
66RM = rm -f
Original file line number Diff line number Diff line change 44 * SPDX-License-Identifier: MIT
55 */
66
7+ #ifndef __linux
8+ #define _BSD_SOURCE
9+ #endif
10+
711#define _DEFAULT_SOURCE
812#define _GNU_SOURCE
913#define _POSIX_C_SOURCE 200809L
Original file line number Diff line number Diff line change 55 * Distributed under terms of the MIT license.
66 */
77
8- #define _GNU_SOURCE 1
9- #define _POSIX_C_SOURCE 199309L
8+ #ifndef __linux
9+ #define _BSD_SOURCE
10+ #endif
11+
12+ #define _GNU_SOURCE
13+ #define _POSIX_C_SOURCE 200809L
1014
1115#include "deps/cflag/cflag.h"
1216#include "deps/clog/clog.h"
Original file line number Diff line number Diff line change 11/*
22 * task.c
3- * Copyright (C) 2010-2020 Adrian Perez <[email protected] > 3+ * Copyright (C) 2010-2024 Adrian Perez <[email protected] > 44 *
55 * Distributed under terms of the MIT license.
66 */
77
8- #define _POSIX_C_SOURCE 199309L
8+ #ifndef __linux
9+ #define _BSD_SOURCE
10+ #endif
11+
912#define _DEFAULT_SOURCE
13+ #define _POSIX_C_SOURCE 199309L
1014
1115#include "task.h"
1216#include "deps/clog/clog.h"
You can’t perform that action at this time.
0 commit comments