https://git.reactos.org/?p=reactos.git;a=commitdiff;h=055875fbd894e73de031aa...
commit 055875fbd894e73de031aaf4c876171068e270ab Author: Timo Kreuzer timo.kreuzer@reactos.org AuthorDate: Mon Oct 28 19:17:56 2024 +0200 Commit: Timo Kreuzer timo.kreuzer@reactos.org CommitDate: Sun Jan 26 18:08:55 2025 +0200
[UCRT:FLOAT] Add _fltused --- sdk/lib/ucrt/CMakeLists.txt | 2 ++ sdk/lib/ucrt/float/_fltused.c | 11 +++++++++++ sdk/lib/ucrt/float/float.cmake | 4 ++++ 3 files changed, 17 insertions(+)
diff --git a/sdk/lib/ucrt/CMakeLists.txt b/sdk/lib/ucrt/CMakeLists.txt index 4c2b2e18559..deeb3c7b27e 100644 --- a/sdk/lib/ucrt/CMakeLists.txt +++ b/sdk/lib/ucrt/CMakeLists.txt @@ -88,6 +88,7 @@ include(dll/dll.cmake) include(env/env.cmake) include(exec/exec.cmake) include(filesystem/filesystem.cmake) +include(float/float.cmake) include(heap/heap.cmake) include(initializers/initializers.cmake) include(internal/internal.cmake) @@ -108,6 +109,7 @@ add_library(ucrt OBJECT ${UCRT_ENV_SOURCES} ${UCRT_EXEC_SOURCES} ${UCRT_FILESYSTEM_SOURCES} + ${UCRT_FLOAT_SOURCES} ${UCRT_HEAP_SOURCES} ${UCRT_INITIALIZERS_SOURCES} ${UCRT_INTERNAL_SOURCES} diff --git a/sdk/lib/ucrt/float/_fltused.c b/sdk/lib/ucrt/float/_fltused.c new file mode 100644 index 00000000000..234d3cf0cd4 --- /dev/null +++ b/sdk/lib/ucrt/float/_fltused.c @@ -0,0 +1,11 @@ +// +// _fltused.c +// +// Copyright (c) 2024 Timo Kreuzer +// +// Implementation of _fltused. +// +// SPDX-License-Identifier: MIT +// + +int _fltused = 0x9875; diff --git a/sdk/lib/ucrt/float/float.cmake b/sdk/lib/ucrt/float/float.cmake new file mode 100644 index 00000000000..a0306235771 --- /dev/null +++ b/sdk/lib/ucrt/float/float.cmake @@ -0,0 +1,4 @@ + +list(APPEND UCRT_FLOAT_SOURCES + float/_fltused.c +)