Compare commits

..

No commits in common. "0fd66bff38bbb792eaaf2206e7048200cbcfd203" and "e0c985f7ff7bb9cdd86e5925a6dc058d040b065e" have entirely different histories.

4 changed files with 4 additions and 6 deletions

View File

@ -19,7 +19,7 @@ PREFIX ?= /usr/local
# for conditionally compiling OS features
OS != uname
OS_INCLUDE != test -e include/$(OS).mk && printf 'include/$(OS).mk\n' \
|| printf '/dev/null\n'
|| include/None.mk
# normalized prefix
PREFIX_N != dirname $(PREFIX)/.

0
include/None.mk Normal file
View File

View File

@ -1,6 +1,5 @@
/*
* Copyright (c) 20232024 Emma Tebibyte <emma@tebibyte.media>
* Copyright (c) 2024 DTB <trinity@trinity.moe>
* SPDX-License-Identifier: CC0
*
* This work is marked with CC0 1.0. To view a copy of this license, visit
@ -11,9 +10,9 @@
# include <unistd.h> /* pledge(2) */
#endif
int main(void) {
int main() {
#ifdef __OpenBSD__
pledge(NULL, NULL);
#endif
return 1;
return 1;
}

View File

@ -1,6 +1,5 @@
/*
* Copyright (c) 20232024 Emma Tebibyte <emma@tebibyte.media>
* Copyright (c) 2024 DTB <trinity@trinity.moe>
* SPDX-License-Identifier: CC0
*
* This work is marked with CC0 1.0. To view a copy of this license, visit
@ -11,7 +10,7 @@
# include <unistd.h> /* pledge(2) */
#endif
int main(void) {
int main() {
#ifdef __OpenBSD__
pledge(NULL, NULL);
#endif