From: Vsevolod Stakhov Date: Fri, 22 Jun 2018 18:13:17 +0000 (+0100) Subject: [Minor] Try to make Torch not so 'clever' X-Git-Tag: 1.7.7~53 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a26830c70f6e42896a12836a47fd379358d07afd;p=thirdparty%2Frspamd.git [Minor] Try to make Torch not so 'clever' --- diff --git a/contrib/lua-torch/torch7/lib/TH/THGeneral.c b/contrib/lua-torch/torch7/lib/TH/THGeneral.c index 6ad96b51c7..998ac32125 100644 --- a/contrib/lua-torch/torch7/lib/TH/THGeneral.c +++ b/contrib/lua-torch/torch7/lib/TH/THGeneral.c @@ -11,13 +11,7 @@ #define __thread __declspec( thread ) #endif -#if (defined(__unix) || defined(_WIN32)) - #if defined(__FreeBSD__) - #include - #else - #include - #endif -#elif defined(__APPLE__) +#if defined(__APPLE__) #include #endif