fix(util/stackinfo): fix preprocessor directive
This commit is contained in:
parent
4de3b772fd
commit
7776f4b24b
1 changed files with 1 additions and 2 deletions
|
@ -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));
|
||||||
|
|
Loading…
Reference in a new issue