Added note for multi-threading web compilation

This commit is contained in:
Ray
2022-08-02 09:59:12 +02:00
parent 24e6bf0565
commit d68ddda766
2 changed files with 3 additions and 0 deletions

View File

@@ -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