- (dtucker) [session.c openbsd-compat/bsd-cygwin_util.h] Move Cygwin

specific defines and includes to bsd-cygwin_util.h.  Fixes build error too.
This commit is contained in:
Darren Tucker 2003-08-07 16:28:16 +10:00
parent 854d7fd439
commit 80649c5fa6
3 changed files with 9 additions and 8 deletions

View File

@ -8,6 +8,8 @@
from OpenBSD. from OpenBSD.
- (dtucker) [openbsd-compat/bsd-cygwin_util.c openbsd-compat/bsd-cygwin_util.h] - (dtucker) [openbsd-compat/bsd-cygwin_util.c openbsd-compat/bsd-cygwin_util.h]
Remove incorrect filenames from comments (file names are in Id tags). Remove incorrect filenames from comments (file names are in Id tags).
- (dtucker) [session.c openbsd-compat/bsd-cygwin_util.h] Move Cygwin
specific defines and includes to bsd-cygwin_util.h. Fixes build error too.
20030802 20030802
- (dtucker) [monitor.h monitor_wrap.h] Remove excess ident tags. - (dtucker) [monitor.h monitor_wrap.h] Remove excess ident tags.
@ -796,4 +798,4 @@
- Fix sshd BindAddress and -b options for systems using fake-getaddrinfo. - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo.
Report from murple@murple.net, diagnosis from dtucker@zip.com.au Report from murple@murple.net, diagnosis from dtucker@zip.com.au
$Id: ChangeLog,v 1.2883 2003/08/07 06:23:43 dtucker Exp $ $Id: ChangeLog,v 1.2884 2003/08/07 06:28:16 dtucker Exp $

View File

@ -1,4 +1,4 @@
/* $Id: bsd-cygwin_util.h,v 1.9 2003/08/07 06:23:43 dtucker Exp $ */ /* $Id: bsd-cygwin_util.h,v 1.10 2003/08/07 06:28:16 dtucker Exp $ */
/* /*
* Copyright (c) 2000, 2001, Corinna Vinschen <vinschen@cygnus.com> * Copyright (c) 2000, 2001, Corinna Vinschen <vinschen@cygnus.com>
@ -34,6 +34,11 @@
#ifdef HAVE_CYGWIN #ifdef HAVE_CYGWIN
#undef ERROR
#define is_winnt (GetVersion() < 0x80000000)
#include <windows.h>
#include <sys/cygwin.h>
#include <io.h> #include <io.h>
int binary_open(const char *, int , ...); int binary_open(const char *, int , ...);

View File

@ -58,12 +58,6 @@ RCSID("$OpenBSD: session.c,v 1.159 2003/07/22 13:35:22 markus Exp $");
#include "session.h" #include "session.h"
#include "monitor_wrap.h" #include "monitor_wrap.h"
#ifdef HAVE_CYGWIN
#include <windows.h>
#include <sys/cygwin.h>
#define is_winnt (GetVersion() < 0x80000000)
#endif
/* func */ /* func */
Session *session_new(void); Session *session_new(void);