Skip to content

Commit 4b7b0b9

Browse files
author
raw
committed
removed elifdef which is not supported on some systems
* modified: preg_utils.c
1 parent 0f2dbc1 commit 4b7b0b9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

preg_utils.c

+4-1
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,12 @@ void pregSetLimits(pcre_extra *extra)
9898
pthread_attr_destroy(&thread_attr);
9999
}
100100

101-
#elifdef HAVE_PTHREAD_GET_STACKSIZE_NP
101+
#else
102+
#ifdef HAVE_PTHREAD_GET_STACKSIZE_NP
102103
// TODO: Figure this out and get thread_stack_avail properly set for OSX.
103104
#endif
105+
#endif
106+
104107

105108
#ifdef GH_PREG_NO_MYSQL
106109
if( !thread_stack_avail ) {

0 commit comments

Comments
 (0)