[flang] Fix windows bot after D125140
authorJean Perier <jperier@nvidia.com>
Mon, 9 May 2022 13:23:46 +0000 (15:23 +0200)
committerJean Perier <jperier@nvidia.com>
Mon, 9 May 2022 13:24:14 +0000 (15:24 +0200)
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

index 5bdede7..eca378d 100644 (file)
@@ -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,