REVIEWED: PLATFORM_OS for PLATFORM_WEB

This commit is contained in:
raysan5 2022-02-12 19:08:31 +01:00
parent d0008ae8cd
commit 6ef6dbff2d

View File

@ -148,6 +148,16 @@ ifeq ($(PLATFORM),PLATFORM_DRM)
PLATFORM_OS = LINUX
endif
endif
ifeq ($(PLATFORM),PLATFORM_WEB)
ifeq ($(OS),Windows_NT)
PLATFORM_OS = WINDOWS
else
UNAMEOS = $(shell uname)
ifeq ($(UNAMEOS),Linux)
PLATFORM_OS = LINUX
endif
endif
endif
ifeq ($(PLATFORM),PLATFORM_WEB)
# Emscripten required variables