From 186a9c1b12c3e08d78fae3e660d998de32d96833 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Thu, 19 Jan 2023 08:13:22 -0800 Subject: [PATCH] sfio: fix missing SFIO components These are present in the Autotools build system as a separate library, libsfiof, linked into libsfio. They are also present in the MS Build build system inlined into libsfio itself. This change copies the MS Build approach. This did not cause problems because these sources only exist as fallback implementations for functions that are also implemented as macros. All current usages see the macro definitions so never call these functions. Fixing this will allow removing the macro versions in an upcoming change. --- lib/sfio/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/sfio/CMakeLists.txt b/lib/sfio/CMakeLists.txt index 3492342c3..4e42c0f3f 100644 --- a/lib/sfio/CMakeLists.txt +++ b/lib/sfio/CMakeLists.txt @@ -36,6 +36,10 @@ add_library(sfio STATIC sfvscanf.c sfwr.c sfwrite.c + Sfio_f/_sffileno.c + Sfio_f/_sfgetc.c + Sfio_f/_sfputc.c + Sfio_f/_sfslen.c ) target_include_directories(sfio PRIVATE -- 2.40.0