- (tim) [defines.h] Deal with platforms that do not have S_IFSOCK ok djm@
This commit is contained in:
parent
19d8181b86
commit
9abb697d4f
|
@ -70,6 +70,7 @@
|
||||||
allow "ssh-add - < key"; feedback and ok markus@
|
allow "ssh-add - < key"; feedback and ok markus@
|
||||||
- (tim) [configure.ac] Add AC_LANG_SOURCE to OPENSSH_CHECK_CFLAG_COMPILE
|
- (tim) [configure.ac] Add AC_LANG_SOURCE to OPENSSH_CHECK_CFLAG_COMPILE
|
||||||
so autoreconf 2.68 is happy.
|
so autoreconf 2.68 is happy.
|
||||||
|
- (tim) [defines.h] Deal with platforms that do not have S_IFSOCK ok djm@
|
||||||
|
|
||||||
20110221
|
20110221
|
||||||
- (dtucker) [contrib/cygwin/ssh-host-config] From Corinna: revamp of the
|
- (dtucker) [contrib/cygwin/ssh-host-config] From Corinna: revamp of the
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
#ifndef _DEFINES_H
|
#ifndef _DEFINES_H
|
||||||
#define _DEFINES_H
|
#define _DEFINES_H
|
||||||
|
|
||||||
/* $Id: defines.h,v 1.165 2011/05/05 01:19:15 djm Exp $ */
|
/* $Id: defines.h,v 1.166 2011/05/05 06:06:59 tim Exp $ */
|
||||||
|
|
||||||
|
|
||||||
/* Constants */
|
/* Constants */
|
||||||
|
@ -131,6 +131,10 @@ enum
|
||||||
# define O_NONBLOCK 00004 /* Non Blocking Open */
|
# define O_NONBLOCK 00004 /* Non Blocking Open */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef S_IFSOCK
|
||||||
|
# define S_IFSOCK 0
|
||||||
|
#endif /* S_IFSOCK */
|
||||||
|
|
||||||
#ifndef S_ISDIR
|
#ifndef S_ISDIR
|
||||||
# define S_ISDIR(mode) (((mode) & (_S_IFMT)) == (_S_IFDIR))
|
# define S_ISDIR(mode) (((mode) & (_S_IFMT)) == (_S_IFDIR))
|
||||||
#endif /* S_ISDIR */
|
#endif /* S_ISDIR */
|
||||||
|
|
Loading…
Reference in New Issue