From e433d7ff4b0c5ba55e522be1c6398c2f066f5a5c Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Wed, 27 Aug 2008 00:48:03 +0000 Subject: [PATCH] 2008-08-27 02:47 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/rtl/filesys.c ! Disabled hb_fsPOpen() body for __CYGWIN__. This way __CYGWIN__ compiles cleanly. (although I'm not sure how important Cygwin support is) --- harbour/ChangeLog | 6 ++++++ harbour/source/rtl/filesys.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index b245a88c11..d7b2a267f7 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,12 @@ 2008-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org) */ +2008-08-27 02:47 UTC+0200 Viktor Szakats (harbour.01 syenar hu) + * source/rtl/filesys.c + ! Disabled hb_fsPOpen() body for __CYGWIN__. + This way __CYGWIN__ compiles cleanly. + (although I'm not sure how important Cygwin support is) + 2008-08-27 01:46 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/rtl/hbinet.c ! Bad workaround for the '__WSAFDIsSet unresolved' problem diff --git a/harbour/source/rtl/filesys.c b/harbour/source/rtl/filesys.c index c95bfcea59..1accfaf867 100644 --- a/harbour/source/rtl/filesys.c +++ b/harbour/source/rtl/filesys.c @@ -539,7 +539,7 @@ HB_EXPORT HB_FHANDLE hb_fsPOpen( BYTE * pFilename, BYTE * pMode ) HB_TRACE(HB_TR_DEBUG, ("hb_fsPOpen(%p, %s)", pFilename, pMode)); -#if defined(HB_OS_UNIX_COMPATIBLE) +#if defined(HB_OS_UNIX_COMPATIBLE) && !defined(__CYGWIN__) { HB_FHANDLE hPipeHandle[2], hNullHandle; pid_t pid;