[project @ 2001-05-22 13:22:14 by simonmar]
authorsimonmar <unknown>
Tue, 22 May 2001 13:22:14 +0000 (13:22 +0000)
committersimonmar <unknown>
Tue, 22 May 2001 13:22:14 +0000 (13:22 +0000)
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

index a5ab91e..354d320 100644 (file)
@@ -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