r18488@catbus: nickm | 2008-02-28 15:41:27 -0500

Define reentrant in evdns.c so that we get a declaration for strtok_r


svn:r678
This commit is contained in:
Nick Mathewson 2008-02-28 20:41:34 +00:00
parent 0322ce0a3b
commit 697177306f
2 changed files with 3 additions and 0 deletions

View File

@ -54,6 +54,7 @@ Changes in current version:
o Patch from Tani Hosokawa: make some functions in http.c threadsafe.
o test support for PUT/DELETE requests; from Josh Rotenberg
o rewrite of the evbuffer code to reduce memory copies
o Some older Solaris versions demand that _REENTRANT be defined to get strtok_r(); do so.
Changes in 1.4.0:
o allow \r or \n individually to separate HTTP headers instead of the standard "\r\n"; from Charles Kerr.

View File

@ -60,6 +60,8 @@
/* #define _POSIX_C_SOURCE 200507 */
#define _GNU_SOURCE
/* for strtok_r */
#define _REENTRANT
#ifdef DNS_USE_CPU_CLOCK_FOR_ID
#ifdef DNS_USE_OPENSSL_FOR_ID