diff options
author | Gisle Vanem <gvanem@broadpark.no> | 2006-11-03 15:52:21 +0000 |
---|---|---|
committer | Gisle Vanem <gvanem@broadpark.no> | 2006-11-03 15:52:21 +0000 |
commit | bf57e9bb12c502c828a052e1901349a8c522a617 (patch) | |
tree | b04356b22464e0b1b9249889c56d41ac677d2f13 | |
parent | 318a7584f360306ed39ad46c05217a428a978fff (diff) |
Ifdef around S_IRGRP and S_IROTH (meaningless on Win32).
-rw-r--r-- | lib/ssh.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -130,6 +130,14 @@ #include "memdebug.h" #endif +#ifndef S_IRGRP +#define S_IRGRP 0 +#endif + +#ifndef S_IROTH +#define S_IROTH 0 +#endif + static LIBSSH2_ALLOC_FUNC(libssh2_malloc); static LIBSSH2_REALLOC_FUNC(libssh2_realloc); static LIBSSH2_FREE_FUNC(libssh2_free); |