diff options
| author | Andreas Schneider <mail@cynapses.org> | 2009-09-21 12:23:15 +0200 |
|---|---|---|
| committer | Andreas Schneider <mail@cynapses.org> | 2009-09-21 12:23:47 +0200 |
| commit | 4133f484ae317909169ad8e1bc689d25cabd9a77 (patch) | |
| tree | c179f9e1abd377d915de896c2befe9db860c0615 /include/libssh/priv.h | |
| parent | 041aff8060ace97ddab83037acdd228727ab9220 (diff) | |
| download | libssh-4133f484ae317909169ad8e1bc689d25cabd9a77.tar.gz libssh-4133f484ae317909169ad8e1bc689d25cabd9a77.tar.xz libssh-4133f484ae317909169ad8e1bc689d25cabd9a77.zip | |
Fixed building libssh with MSVC.
Thanks to Carlo Segato for the patch.
Diffstat (limited to 'include/libssh/priv.h')
| -rw-r--r-- | include/libssh/priv.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libssh/priv.h b/include/libssh/priv.h index 6ad7ca7e..e103ce96 100644 --- a/include/libssh/priv.h +++ b/include/libssh/priv.h @@ -34,6 +34,10 @@ #define snprintf _snprintf /** Imitate define of inttypes.h */ #define PRIdS "Id" +#define strcasecmp _stricmp +#define strncasecmp _strnicmp +#define strtoull _strtoui64 +#define isblank(ch) ((ch) == ' ' || (ch) == '\t' || (ch) == '\n' || (ch) == '\r') #else #include <unistd.h> #define PRIdS "zd" |
