Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenlib/intern/system.c
| Context not available. | |||||
| # include "BLI_winstuff.h" | # include "BLI_winstuff.h" | ||||
| #else | #else | ||||
| # include <execinfo.h> | |||||
| # include <unistd.h> | # include <unistd.h> | ||||
| #endif | #endif | ||||
| #if (defined(__linux__) && defined(HAVE_EXECINFO_H)) || defined(__APPLE__) | |||||
| # include <execinfo.h> | |||||
| #endif | |||||
| int BLI_cpu_support_sse2(void) | int BLI_cpu_support_sse2(void) | ||||
| { | { | ||||
| #if defined(__x86_64__) || defined(_M_X64) | #if defined(__x86_64__) || defined(_M_X64) | ||||
| Context not available. | |||||
| { | { | ||||
| /* ------------- */ | /* ------------- */ | ||||
| /* Linux / Apple */ | /* Linux / Apple */ | ||||
| # if defined(__linux__) || defined(__APPLE__) | # #if (defined(__linux__) && defined(HAVE_EXECINFO_H)) || defined(__APPLE__) | ||||
| # define SIZE 100 | # define SIZE 100 | ||||
| void *buffer[SIZE]; | void *buffer[SIZE]; | ||||
| Context not available. | |||||