Skip to content

Commit

Permalink
fix windows
Browse files Browse the repository at this point in the history
  • Loading branch information
MisterTea committed Feb 22, 2024
1 parent f56106d commit 4bc09ca
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/terminal/ParseConfigFile.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,12 @@ typedef int socket_t;
#endif
#endif

#ifdef _MSC_VER
//not #if defined(_WIN32) || defined(_WIN64) because we have strncasecmp in mingw
#define strncasecmp _strnicmp
#define strcasecmp _stricmp
#endif

enum ssh_config_opcode_e {
SOC_UNSUPPORTED = -1,
SOC_HOST,
Expand Down

0 comments on commit 4bc09ca

Please sign in to comment.