Created
April 15, 2023 20:53
-
-
Save Ismael-VC/4233d1c8dbbc1e1762f3874a822a1f2d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/build.sh b/build.sh | |
index 28682b5..88076e8 100755 | |
--- a/build.sh | |
+++ b/build.sh | |
@@ -67,7 +67,7 @@ fi | |
mkdir -p bin | |
CC="${CC:-cc}" | |
-CFLAGS="${CFLAGS:--std=c89 -Wall -Wno-unknown-pragmas}" | |
+CFLAGS="${CFLAGS:--std=c89 -Wall -Wno-unknown-pragmas -D_DARWIN_C_SOURCE}" | |
case "$(uname -s 2>/dev/null)" in | |
MSYS_NT*|MINGW*) # MSYS2 on Windows | |
FILE_LDFLAGS="-liberty" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment