From b6baeecd9a18c5e0cb46e58059f52672a16e83e4 Mon Sep 17 00:00:00 2001 From: Alex Qyoun-ae Date: Tue, 3 Sep 2013 03:49:39 +0400 Subject: [PATCH] Fixed compilation with LLVM compilers --- src/sdl/i_system.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sdl/i_system.cpp b/src/sdl/i_system.cpp index def35606a4..ba126bf541 100644 --- a/src/sdl/i_system.cpp +++ b/src/sdl/i_system.cpp @@ -699,7 +699,7 @@ bool I_WriteIniFailed () static const char *pattern; -#ifdef __APPLE__ +#if defined(__APPLE__) && !defined(__llvm__) static int matchfile (struct dirent *ent) #else static int matchfile (const struct dirent *ent)