Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSybren A. Stüvel <sybren@stuvel.eu>2018-12-09 21:24:12 +0300
committerSybren A. Stüvel <sybren@stuvel.eu>2018-12-09 21:24:12 +0300
commit879877295d0785aef0b47ebc031a06dd2f17a63f (patch)
tree58f9c4bbe07f2544b97dfe6987a3f88f4b676edc /source/blender/blenlib/intern/system.c
parente79bb957fc3d59a659d176cdd7f8b7faf5f0963f (diff)
Simplified #ifdef to not silently fail on certain platforms
Diffstat (limited to 'source/blender/blenlib/intern/system.c')
-rw-r--r--source/blender/blenlib/intern/system.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/blenlib/intern/system.c b/source/blender/blenlib/intern/system.c
index c1a7846c4b1..82c42c42d9d 100644
--- a/source/blender/blenlib/intern/system.c
+++ b/source/blender/blenlib/intern/system.c
@@ -32,12 +32,12 @@
#include "MEM_guardedalloc.h"
/* for backtrace and gethostname/GetComputerName */
-#if defined(__linux__) || defined(__APPLE__)
-# include <execinfo.h>
-# include <unistd.h>
-#elif defined(WIN32)
+#if defined(WIN32)
# include <windows.h>
# include <dbghelp.h>
+#else
+# include <execinfo.h>
+# include <unistd.h>
#endif
int BLI_cpu_support_sse2(void)