summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorRay <[email protected]>2022-08-02 09:59:12 +0200
committerRay <[email protected]>2022-08-02 09:59:12 +0200
commitd68ddda766fb5330619fa1b3ba25eab621f07c0a (patch)
treef4849c1e7ff911ebfd721ef68e9339f692ad8aed /src
parent24e6bf0565b2e083cdb26aa5e33f58ec3016073f (diff)
downloadraylib-d68ddda766fb5330619fa1b3ba25eab621f07c0a.tar.gz
raylib-d68ddda766fb5330619fa1b3ba25eab621f07c0a.zip
Added note for multi-threading web compilation
Diffstat (limited to 'src')
-rw-r--r--src/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
index b19ac2e1..c03278fb 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -316,6 +316,7 @@ ifneq ($(RAYLIB_CONFIG_FLAGS), NONE)
endif
ifeq ($(PLATFORM), PLATFORM_WEB)
+ # NOTE: When using multi-threading in the user code, it requires -pthread enabled
CFLAGS += -std=gnu99
else
CFLAGS += -std=c99