curl/lib/vauth
Viktor Szakats 22c45844af
strtok: use namespaced strtok_r macro instead of redefining it
krb5 defines `strtok_r` for Windows unconditionally in its public
header:
dc5554394e/src/include/win-mac.h (L214-L215)
resulting in this warning:
```
lib\strtok.h(31,9): warning C4005: 'strtok_r': macro redefinition
      C:\vcpkg\installed\x64-windows\include\win-mac.h(215,9):
      see previous definition of 'strtok_r'
```

The krb5 macro collides with curl's internal definition, in case
the `strtok_r` function is undetected and falling back to a local
replacement.

Reported-by: Tal Regev
Bug: https://github.com/curl/curl/pull/15549#issuecomment-2468251761
Closes #15564
2024-11-14 09:55:45 +01:00
..
.checksrc lib: enable strerror and strncpy checksrc warnings in subdirs 2024-09-09 16:51:21 +02:00
cleartext.c code: language cleanup in comments 2024-07-01 22:58:55 +02:00
cram.c lib: remove function pointer typecasts for hmac/sha256/md5 2024-10-15 14:32:39 +02:00
digest_sspi.c src/lib: remove redundant ternary operators 2024-10-29 08:18:30 +01:00
digest.c strtok: use namespaced strtok_r macro instead of redefining it 2024-11-14 09:55:45 +01:00
digest.h lib: add ability to disable auths individually 2023-09-07 17:45:06 +02:00
gsasl.c lib: use bool/TRUE/FALSE properly 2024-10-03 09:31:56 +02:00
krb5_gssapi.c lib/src: white space edits to comply better with code style 2024-09-19 14:59:12 +02:00
krb5_sspi.c src/lib: remove redundant ternary operators 2024-10-29 08:18:30 +01:00
ntlm_sspi.c src/lib: remove redundant ternary operators 2024-10-29 08:18:30 +01:00
ntlm.c src/lib: remove redundant ternary operators 2024-10-29 08:18:30 +01:00
ntlm.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
oauth2.c code: language cleanup in comments 2024-07-01 22:58:55 +02:00
spnego_gssapi.c spnego_gssapi: implement TLS channel bindings for openssl 2024-08-12 19:16:54 +02:00
spnego_sspi.c src/lib: remove redundant ternary operators 2024-10-29 08:18:30 +01:00
vauth.c src/lib: remove redundant ternary operators 2024-10-29 08:18:30 +01:00
vauth.h vauth: make two functions void that always just returned OK 2024-05-13 22:38:25 +02:00