From d38915ffebee403dd1786ad4e165100160529939 Mon Sep 17 00:00:00 2001 From: Jean Perier Date: Mon, 9 May 2022 15:23:46 +0200 Subject: [PATCH] [flang] Fix windows bot after D125140 The ifdef is not required in the header, common::int128_t is always defined. The function declaration must be available in lowering regardless of the host int128_t support. Differential Revision: https://reviews.llvm.org/D125211 --- flang/include/flang/Runtime/io-api.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/flang/include/flang/Runtime/io-api.h b/flang/include/flang/Runtime/io-api.h index 5bdede7..eca378d 100644 --- a/flang/include/flang/Runtime/io-api.h +++ b/flang/include/flang/Runtime/io-api.h @@ -123,11 +123,9 @@ Cookie IONAME(BeginInternalFormattedInput)(const char *internal, enum Iostat IONAME(CheckUnitNumberInRange64)(std::int64_t unit, bool handleError, char *ioMsg = nullptr, std::size_t ioMsgLength = 0, const char *sourceFile = nullptr, int sourceLine = 0); -#ifdef __SIZEOF_INT128__ enum Iostat IONAME(CheckUnitNumberInRange128)(common::int128_t unit, bool handleError, char *ioMsg = nullptr, std::size_t ioMsgLength = 0, const char *sourceFile = nullptr, int sourceLine = 0); -#endif // External synchronous I/O initiation Cookie IONAME(BeginExternalListOutput)(ExternalUnit = DefaultUnit, -- 2.7.4