From: simonm Date: Thu, 7 Jan 1999 15:48:40 +0000 (+0000) Subject: [project @ 1999-01-07 15:48:40 by simonm] X-Git-Tag: Approx_2487_patches~145 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=59bd18a918c1c91c917ced9f8fd11a6db2db64e1;p=ghc-hetmet.git [project @ 1999-01-07 15:48:40 by simonm] this file is NON_POSIX_SOURCE, since we use lstat. --- diff --git a/ghc/lib/std/cbits/openFile.c b/ghc/lib/std/cbits/openFile.c index ae4d287..5c5848b 100644 --- a/ghc/lib/std/cbits/openFile.c +++ b/ghc/lib/std/cbits/openFile.c @@ -1,11 +1,14 @@ /* * (c) The GRASP/AQUA Project, Glasgow University, 1994-1998 * - * $Id: openFile.c,v 1.3 1998/12/02 13:27:44 simonm Exp $ + * $Id: openFile.c,v 1.4 1999/01/07 15:48:40 simonm Exp $ * * openFile Runtime Support */ +/* We use lstat, which is sadly not POSIX */ +#define NON_POSIX_SOURCE + #include "Rts.h" #include "stgio.h" #include "fileObject.h"