Skip to content

Commit

Permalink
chore: use strcasecmp for unix based systems
Browse files Browse the repository at this point in the history
  • Loading branch information
karenc-bq committed Sep 11, 2024
1 parent 721262e commit 54e666f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions driver/saml_http_client.cc
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@

#define MAX_REDIRECT_COUNT 20

#if !defined(WIN32)
#define stricmp strcasecmp
#endif

SAML_HTTP_CLIENT::SAML_HTTP_CLIENT(std::string host, int connect_timeout, int socket_timeout, bool enable_ssl)
: host{std::move(host)}, connect_timeout(connect_timeout), socket_timeout(socket_timeout), enable_ssl(enable_ssl) {}

Expand Down

0 comments on commit 54e666f

Please sign in to comment.