From 9ac1acc9e97ebf7d5d211c1e5bac82edb7daf0be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Tue, 28 Nov 2017 20:03:27 -0800 Subject: [PATCH] Fixed build. --- include/compat/msvc/dirent.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/compat/msvc/dirent.h b/include/compat/msvc/dirent.h index 1b282dd..a08d0fa 100644 --- a/include/compat/msvc/dirent.h +++ b/include/compat/msvc/dirent.h @@ -29,7 +29,7 @@ #if defined(__clang__) # pragma clang diagnostic ignored "-Wunused-function" -#if defined(_MSC_VER) +#elif defined(_MSC_VER) # pragma warning(disable:4505) // error C4505: '_wreaddir': unreferenced local function has been removed #else # pragma GCC diagnostic ignored "-Wunused-function"