[UCRT:FLOAT] Add _fltused

This commit is contained in:
Timo Kreuzer 2024-10-28 19:17:56 +02:00
parent 4462342076
commit 055875fbd8
3 changed files with 17 additions and 0 deletions

View file

@ -88,6 +88,7 @@ include(dll/dll.cmake)
include(env/env.cmake) include(env/env.cmake)
include(exec/exec.cmake) include(exec/exec.cmake)
include(filesystem/filesystem.cmake) include(filesystem/filesystem.cmake)
include(float/float.cmake)
include(heap/heap.cmake) include(heap/heap.cmake)
include(initializers/initializers.cmake) include(initializers/initializers.cmake)
include(internal/internal.cmake) include(internal/internal.cmake)
@ -108,6 +109,7 @@ add_library(ucrt OBJECT
${UCRT_ENV_SOURCES} ${UCRT_ENV_SOURCES}
${UCRT_EXEC_SOURCES} ${UCRT_EXEC_SOURCES}
${UCRT_FILESYSTEM_SOURCES} ${UCRT_FILESYSTEM_SOURCES}
${UCRT_FLOAT_SOURCES}
${UCRT_HEAP_SOURCES} ${UCRT_HEAP_SOURCES}
${UCRT_INITIALIZERS_SOURCES} ${UCRT_INITIALIZERS_SOURCES}
${UCRT_INTERNAL_SOURCES} ${UCRT_INTERNAL_SOURCES}

View file

@ -0,0 +1,11 @@
//
// _fltused.c
//
// Copyright (c) 2024 Timo Kreuzer
//
// Implementation of _fltused.
//
// SPDX-License-Identifier: MIT
//
int _fltused = 0x9875;

View file

@ -0,0 +1,4 @@
list(APPEND UCRT_FLOAT_SOURCES
float/_fltused.c
)