1 --- SPIRV-Tools-2024.3/CMakeLists.txt.old 2024-11-18 14:18:25.146940505 -0500
2 +++ SPIRV-Tools-2024.3/CMakeLists.txt 2024-11-18 14:19:01.876955989 -0500
4 add_definitions(-DSPIRV_GNU)
5 elseif("${CMAKE_SYSTEM_NAME}" STREQUAL "QNX")
6 add_definitions(-DSPIRV_QNX)
7 +elseif("${CMAKE_SYSTEM_NAME}" STREQUAL "SunOS")
8 + add_definitions(-DSPIRV_SUNOS)
10 message(FATAL_ERROR "Your platform '${CMAKE_SYSTEM_NAME}' is not supported!")
12 --- SPIRV-Tools-2024.3/source/print.cpp.old 2024-11-18 14:25:14.998945818 -0500
13 +++ SPIRV-Tools-2024.3/source/print.cpp 2024-11-18 14:25:48.464713809 -0500
15 #if defined(SPIRV_ANDROID) || defined(SPIRV_LINUX) || defined(SPIRV_MAC) || \
16 defined(SPIRV_IOS) || defined(SPIRV_TVOS) || defined(SPIRV_FREEBSD) || \
17 defined(SPIRV_OPENBSD) || defined(SPIRV_EMSCRIPTEN) || \
18 - defined(SPIRV_FUCHSIA) || defined(SPIRV_GNU) || defined(SPIRV_QNX)
19 + defined(SPIRV_FUCHSIA) || defined(SPIRV_GNU) || defined(SPIRV_QNX) || defined(SPIRV_SUNOS)
22 clr::reset::operator const char*() { return "\x1b[0m"; }