some new features

This commit is contained in:
ilgazca
2025-07-30 17:09:11 +03:00
parent db5d46760a
commit 8019bd3b7c
20616 changed files with 4375466 additions and 8 deletions

View File

@ -0,0 +1,18 @@
import os
import sys
__all__ = [
"PLATFORM_OSX",
"PLATFORM_WIN",
"PLATFORM_WIN32",
"PLATFORM_32",
"PLATFORM_LINUX",
"PLATFORM_LINUX32",
]
PLATFORM_OSX = sys.platform == "darwin"
PLATFORM_WIN = sys.platform in ("win32", "cygwin") or os.name == "nt"
PLATFORM_WIN32 = PLATFORM_WIN and sys.maxsize < 2 ** 33
PLATFORM_LINUX = sys.platform[:5] == "linux"
PLATFORM_32 = sys.maxsize < 2 ** 33
PLATFORM_LINUX32 = PLATFORM_32 and PLATFORM_LINUX