projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
318a758
)
Ifdef around S_IRGRP and S_IROTH (meaningless on Win32).
author
Gisle Vanem
<gvanem@broadpark.no>
Fri, 3 Nov 2006 15:52:21 +0000
(15:52 +0000)
committer
Gisle Vanem
<gvanem@broadpark.no>
Fri, 3 Nov 2006 15:52:21 +0000
(15:52 +0000)
lib/ssh.c
patch
|
blob
|
history
diff --git
a/lib/ssh.c
b/lib/ssh.c
index
9f676b8
..
f56013c
100644
(file)
--- a/
lib/ssh.c
+++ b/
lib/ssh.c
@@
-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);