]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Try to make Torch not so 'clever'
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 22 Jun 2018 18:13:17 +0000 (19:13 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 22 Jun 2018 18:13:17 +0000 (19:13 +0100)
contrib/lua-torch/torch7/lib/TH/THGeneral.c

index 6ad96b51c70255fcac1cbb440922430f7325c389..998ac321253f13591032f3f88ec8d1ad6e02a6d3 100644 (file)
 #define __thread __declspec( thread )
 #endif
 
-#if (defined(__unix) || defined(_WIN32))
-  #if defined(__FreeBSD__)
-    #include <malloc_np.h>
-  #else
-    #include <malloc.h>
-  #endif
-#elif defined(__APPLE__)
+#if defined(__APPLE__)
 #include <malloc/malloc.h>
 #endif