fix(util/stackinfo): fix preprocessor directive

This commit is contained in:
Soonho Kong 2013-12-01 23:44:58 -05:00
parent 4de3b772fd
commit 7776f4b24b

View file

@ -16,8 +16,7 @@ namespace lean {
size_t get_stack_size() { size_t get_stack_size() {
return LEAN_WIN_STACK_SIZE return LEAN_WIN_STACK_SIZE
} }
#endif #elif defined (__APPLE__)
#ifdef __APPLE__
size_t get_stack_size() { size_t get_stack_size() {
pthread_attr_t attr; pthread_attr_t attr;
memset (&attr, 0, sizeof(attr)); memset (&attr, 0, sizeof(attr));