From 91bde186b25a96ddfbec4c199b7469e4eebc44c4 Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Sat, 21 Mar 2020 11:20:14 -0700 Subject: [PATCH] CNIOWindows: add paranoid preprocessing (NFC) (#1459) Ensure that this file is only compiled for Windows targets. --- Sources/CNIOWindows/shim.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Sources/CNIOWindows/shim.c b/Sources/CNIOWindows/shim.c index 8db1a0232..21137c8b4 100644 --- a/Sources/CNIOWindows/shim.c +++ b/Sources/CNIOWindows/shim.c @@ -12,4 +12,8 @@ // //===----------------------------------------------------------------------===// +#if defined(_WIN32) + #include "CNIOWindows.h" + +#endif