From 7df73aa7332a9e2fb4087aface97e2c5e11bd222 Mon Sep 17 00:00:00 2001 From: simonmar Date: Tue, 22 May 2001 13:22:14 +0000 Subject: [PATCH] [project @ 2001-05-22 13:22:14 by simonmar] Clarify what NON_POSIX_SOURCE is needed for (S_ISSOCK namely). This module is probably badly named. Anyway, things will likely change in this area shortly when the Win32 port happens. --- ghc/lib/std/PrelPosix.hsc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ghc/lib/std/PrelPosix.hsc b/ghc/lib/std/PrelPosix.hsc index a5ab91e..354d320 100644 --- a/ghc/lib/std/PrelPosix.hsc +++ b/ghc/lib/std/PrelPosix.hsc @@ -1,10 +1,12 @@ {-# OPTIONS -fno-implicit-prelude -optc-DNON_POSIX_SOURCE #-} -- --------------------------------------------------------------------------- --- $Id: PrelPosix.hsc,v 1.3 2001/05/18 21:46:58 qrczak Exp $ +-- $Id: PrelPosix.hsc,v 1.4 2001/05/22 13:22:14 simonmar Exp $ -- -- POSIX support layer for the standard libraries -- +-- NON_POSIX_SOURCE needed for the following features: +-- * S_ISSOCK (no sockets in POSIX) module PrelPosix where -- 1.7.10.4