Added note for multi-threading web compilation
This commit is contained in:
parent
24e6bf0565
commit
d68ddda766
2 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue