cmake HAVE_STRUCT_TIMESPEC examples

Froser/gamemachine src/3rdparty/openal-soft-1.19.1/CMakeLists.txt :203

CHECK_STRUCT_HAS_MEMBER("struct timespec" tv_sec time.h HAVE_STRUCT_TIMESPEC)

Unidata/netcdf-c CMakeLists.txt :1338

CHECK_SYMBOL_EXISTS("struct timespec" "time.h" HAVE_STRUCT_TIMESPEC)

SmartThingsCommunity/st-device-sdk-c test/framework/cmocka/ConfigureChecks.cmake :70

check_struct_has_member("struct timespec" tv_sec "time.h" HAVE_STRUCT_TIMESPEC)

supertuxkart/stk-code CMakeLists.txt :507

add_definitions(-DHAVE_STRUCT_TIMESPEC)

clibs/cmocka ConfigureChecks.cmake :70

check_struct_has_member("struct timespec" tv_sec "time.h" HAVE_STRUCT_TIMESPEC)

NGSolve/netgen libsrc/core/CMakeLists.txt :58

target_compile_definitions(ngcore PUBLIC _WIN32_WINNT=${ver} WNT WNT_WINDOW NOMINMAX MSVC_EXPRESS _CRT_SECURE_NO_WARNINGS HAVE_STRUCT_TIMESPEC WIN32)

wrld3d/wrld-example-app windows/CMakeLists.txt :27

add_definitions(-D__BYTE_ORDER__ -D__ORDER_LITTLE_ENDIAN__ -D_HAS_EXCEPTIONS=0 -DHAVE_STRUCT_TIMESPEC=1 -DNOMINMAX=1 -DPTW32_STATIC_LIB -DCURL_STATICLIB)

fluent/fluent-bit lib/wasm-micro-runtime-WAMR-2.4.1/core/shared/platform/windows/shared_platform.cmake :7

add_definitions(-DHAVE_STRUCT_TIMESPEC)

opentx/opentx radio/src/CMakeLists.txt :428

add_definitions(-DHAVE_STRUCT_TIMESPEC)

asset-group/5ghoul-5g-nr-attacks libs/PcapPlusPlus/Pcap++/CMakeLists.txt :11

check_struct_has_member("struct timespec" "tv_sec" "time.h" HAVE_STRUCT_TIMESPEC)

asset-group/5ghoul-5g-nr-attacks libs/PcapPlusPlus/Pcap++/CMakeLists.txt :14

add_definitions(-DHAVE_STRUCT_TIMESPEC=1)

swiftlang/swift-corelibs-foundation CMakeLists.txt :184

list(APPEND _Foundation_common_build_flags
    "-DDEPLOYMENT_RUNTIME_SWIFT"
    "-DCF_BUILDING_CF"
    "-DHAVE_STRUCT_TIMESPEC"
    "-Wno-shorten-64-to-32"
    "-Wno-deprecated-declarations"
    "-Wno-unreachable-code"
    "-Wno-conditional-uninitialized"
    "-Wno-unused-variable"
    "-Wno-unused-function"
    "-Wno-microsoft-enum-forward-reference"
    "-Wno-int-conversion"
    "-Wno-switch"
    "-fblocks")