From 35290e8cebf9929126cc471bc5d9d1b5c02afd65 Mon Sep 17 00:00:00 2001 From: sendaoYan Date: Thu, 5 Sep 2024 20:21:17 +0800 Subject: [PATCH] fix compile error: libCreationTimeHelper.c:96:8: error: unknown type name bool --- .../attribute/BasicFileAttributeView/libCreationTimeHelper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/jdk/java/nio/file/attribute/BasicFileAttributeView/libCreationTimeHelper.c b/test/jdk/java/nio/file/attribute/BasicFileAttributeView/libCreationTimeHelper.c index 52c2976129038..3ed603e934148 100644 --- a/test/jdk/java/nio/file/attribute/BasicFileAttributeView/libCreationTimeHelper.c +++ b/test/jdk/java/nio/file/attribute/BasicFileAttributeView/libCreationTimeHelper.c @@ -21,7 +21,6 @@ * questions. */ #include "export.h" -#if defined(__linux__) #if (__STDC_VERSION__ >= 199901L) #include #else @@ -29,6 +28,7 @@ #define true 1 #define false 0 #endif +#if defined(__linux__) #include #include #include