mirror of
https://github.com/BinomialLLC/basis_universal.git
synced 2026-08-21 10:38:12 +00:00
transcoder/basisu_astc_helpers.h has a pragma once, but it is also an implementation header (when ASTC_HELPERS_IMPLEMENTATION is defined). pragma once is not necessary here as the header has a separate ifdef guard, and it blocks attempts to compile Basis as a CMake Unity build (CMAKE_UNITY_BUILD=ON) or as a single-translation unit non-CMake build if the helpers header has been included earlier in the TU, as the second inclusion with implementation defined doesn't actually include the header.