From 80649c5fa6af0f6c8122f567c2c01b6aabfef07c Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Thu, 7 Aug 2003 16:28:16 +1000 Subject: - (dtucker) [session.c openbsd-compat/bsd-cygwin_util.h] Move Cygwin specific defines and includes to bsd-cygwin_util.h. Fixes build error too. --- openbsd-compat/bsd-cygwin_util.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'openbsd-compat/bsd-cygwin_util.h') diff --git a/openbsd-compat/bsd-cygwin_util.h b/openbsd-compat/bsd-cygwin_util.h index f9149fd17..5ccb0fba2 100644 --- a/openbsd-compat/bsd-cygwin_util.h +++ b/openbsd-compat/bsd-cygwin_util.h @@ -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 @@ -34,6 +34,11 @@ #ifdef HAVE_CYGWIN +#undef ERROR +#define is_winnt (GetVersion() < 0x80000000) + +#include +#include #include int binary_open(const char *, int , ...); -- cgit v1.2.3