From: simonmar Date: Tue, 22 May 2001 13:22:14 +0000 (+0000) Subject: [project @ 2001-05-22 13:22:14 by simonmar] X-Git-Tag: Approximately_9120_patches~1902 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=7df73aa7332a9e2fb4087aface97e2c5e11bd222;p=ghc-hetmet.git [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. --- 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