Simplified #ifdef to not silently fail on certain platforms

This commit is contained in:
Sybren A. Stüvel 2018-12-09 19:24:12 +01:00
parent e79bb957fc
commit 879877295d
Notes: blender-bot 2023-02-14 04:38:02 +01:00
Referenced by issue #59081, Some material node groups in 2.80, from 2.7x files, crash in 2.80
Referenced by issue #59082, De-selecting all, leaves the Move tool gizmo visible
Referenced by issue #59023, Wireframe + lock view to axis makes Blender crash
Referenced by issue #59015, Program Crash
Referenced by issue #58988, Closing Blender through preferences or multitasking in OS.
1 changed files with 4 additions and 4 deletions

View File

@ -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)