]> granicus.if.org Git - curl/commit
curl_ctype: fix macro redefinition warnings
authorMarcel Raad <Marcel.Raad@teamviewer.com>
Sat, 3 Mar 2018 18:52:43 +0000 (19:52 +0100)
committerMarcel Raad <Marcel.Raad@teamviewer.com>
Sat, 3 Mar 2018 18:52:43 +0000 (19:52 +0100)
commit68d84cfe984e7d0483fad14fdd7deef4bf67de1b
tree998ed63d51729a65dc02de0ea29d5d161c68d6ab
parentc87c71b3fea35e23eb2d236278e9956555394fc1
curl_ctype: fix macro redefinition warnings

On MinGW and Cygwin, GCC and clang have been complaining about macro
redefinitions since 4272a0b0fc49a1ac0ceab5c4a365c9f6ab8bf8e2. Fix this
by undefining the macros before redefining them as suggested in
https://github.com/curl/curl/pull/2269.

Suggested-by: Daniel Stenberg
lib/curl_ctype.c