`ninja all check-all`
Before and after this commit, apply this patch, run bitcoind and check that HAVE_FDATASYNC was previously not defined but now it is:
diff --git a/src/bitcoind.cpp b/src/bitcoind.cpp
index 5095693bb3..61455b8836 100644
```
--- a/src/bitcoind.cpp
+++ b/src/bitcoind.cpp
@@ -314,9 +314,13 @@ static bool AppInit(int argc, char *argv[]) {
}
int main(int argc, char *argv[]) {
-#ifdef WIN32
- util::WinCmdLineArgs winArgs;
- std::tie(argc, argv) = winArgs.get();
+#if defined(HAVE_FDATASYNC)
+ LogPrintf("\n\n#### HAVE_FDATASYNC defined\n\n");
+#endif
+#if HAVE_FDATASYNC
+ LogPrintf("\n\n#### HAVE_FDATASYNC\n\n");
+#else
+ LogPrintf("\n\n##### not HAVE_FDATASYNC\n\n");
#endif
SetupEnvironment();
```