From 59bd18a918c1c91c917ced9f8fd11a6db2db64e1 Mon Sep 17 00:00:00 2001 From: simonm Date: Thu, 7 Jan 1999 15:48:40 +0000 Subject: [PATCH] [project @ 1999-01-07 15:48:40 by simonm] this file is NON_POSIX_SOURCE, since we use lstat. --- ghc/lib/std/cbits/openFile.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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" -- 1.7.10.4