From 7dc65d7ecac7f6224f83ee802b8f5f4a2320e95a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Tue, 26 May 2026 21:42:47 -0700 Subject: [PATCH] Revert "platform: bridge legacy lowercase emscripten version macros (#397)" (#398) This reverts commit 4eb6f8ebb23daabb6c77c396fd276ca2029a7041. --- include/bx/platform.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/include/bx/platform.h b/include/bx/platform.h index e7cdbf7..5e6acf5 100644 --- a/include/bx/platform.h +++ b/include/bx/platform.h @@ -204,16 +204,6 @@ # define BX_PLATFORM_OSX __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ #elif defined(__wasm__) # include - // emscripten <= 4.0.23 only defined the lowercase version macros - // (__EMSCRIPTEN_major__, _minor_, _tiny_); 4.0.24+ added uppercase as - // primary and kept lowercase as deprecated aliases. Bridge the older - // emsdk so bx (and downstream code that consumes BX_PLATFORM_EMSCRIPTEN) - // can rely on the uppercase form uniformly. -# if !defined(__EMSCRIPTEN_MAJOR__) && defined(__EMSCRIPTEN_major__) -# define __EMSCRIPTEN_MAJOR__ __EMSCRIPTEN_major__ -# define __EMSCRIPTEN_MINOR__ __EMSCRIPTEN_minor__ -# define __EMSCRIPTEN_TINY__ __EMSCRIPTEN_tiny__ -# endif # undef BX_PLATFORM_EMSCRIPTEN # define BX_PLATFORM_EMSCRIPTEN (__EMSCRIPTEN_MAJOR__ * 10000 + __EMSCRIPTEN_MINOR__ * 100 + __EMSCRIPTEN_TINY__) #elif defined(__ORBIS__)