fix warnign on OSX
This commit is contained in:
parent
7f31f95b54
commit
be990132da
|
@ -60,7 +60,6 @@ SET(libCurl_SRCS
|
||||||
strequal.c
|
strequal.c
|
||||||
easy.c
|
easy.c
|
||||||
http_chunks.c
|
http_chunks.c
|
||||||
strtok.c
|
|
||||||
connect.c
|
connect.c
|
||||||
llist.c
|
llist.c
|
||||||
hash.c
|
hash.c
|
||||||
|
@ -68,6 +67,7 @@ SET(libCurl_SRCS
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# if we have Kerberos 4, right now this is never on
|
# if we have Kerberos 4, right now this is never on
|
||||||
IF(KRB4)
|
IF(KRB4)
|
||||||
SET(libCurl_SRCS ${libCurl_SRCS}
|
SET(libCurl_SRCS ${libCurl_SRCS}
|
||||||
|
@ -259,6 +259,12 @@ IF(HAVE_SIGNAL_FUNC AND HAVE_SIGNAL_MACRO)
|
||||||
SET(HAVE_SIGNAL 1)
|
SET(HAVE_SIGNAL 1)
|
||||||
ENDIF(HAVE_SIGNAL_FUNC AND HAVE_SIGNAL_MACRO)
|
ENDIF(HAVE_SIGNAL_FUNC AND HAVE_SIGNAL_MACRO)
|
||||||
|
|
||||||
|
# only build compat strtok if we need to
|
||||||
|
IF (NOT HAVE_STRTOK_R)
|
||||||
|
SET(libCurl_SRCS ${libCurl_SRCS}
|
||||||
|
strtok.c
|
||||||
|
)
|
||||||
|
ENDIF (NOT HAVE_STRTOK_R)
|
||||||
|
|
||||||
# sigaction and sigsetjmp are special. Use special mechanism for
|
# sigaction and sigsetjmp are special. Use special mechanism for
|
||||||
# detecting those, but only if previous attempt failed.
|
# detecting those, but only if previous attempt failed.
|
||||||
|
|
Loading…
Reference in New Issue