summaryrefslogtreecommitdiff
path: root/libraries/base/System/Posix
diff options
context:
space:
mode:
authorTamar Christina <tamar@zhox.com>2016-09-10 13:04:19 +0100
committerTamar Christina <tamar@zhox.com>2016-09-10 20:32:57 +0100
commit710f21cc3a6f10dac1b31d089458e5fd16f6d3db (patch)
treea1931db61f76ce48832f8091a317af8cc2fcd63d /libraries/base/System/Posix
parent7b4bb40555eb19b528a976ff1f1b43c8bded6373 (diff)
downloadhaskell-710f21cc3a6f10dac1b31d089458e5fd16f6d3db.tar.gz
Add platform warning to Foreign.C.Types
Summary: The generated documentation for thhe Foreign.C.Types module is generated based on the platform which ran Haddock. This is generating incorrect types for e.g. Windows. Add a disclaimer to the top of the page to ask people to keep this in mind. Test Plan: make documentation and inspect Haddock Reviewers: erikd, austin, hvr, bgamari Reviewed By: erikd Subscribers: RyanGlScott, #ghc_windows_task_force, thomie Differential Revision: https://phabricator.haskell.org/D2523 GHC Trac Issues: #12586
Diffstat (limited to 'libraries/base/System/Posix')
-rw-r--r--libraries/base/System/Posix/Types.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/libraries/base/System/Posix/Types.hs b/libraries/base/System/Posix/Types.hs
index 5389e6eeed..52fce87ca0 100644
--- a/libraries/base/System/Posix/Types.hs
+++ b/libraries/base/System/Posix/Types.hs
@@ -25,6 +25,12 @@
module System.Posix.Types (
-- * POSIX data types
+
+ -- ** Platform differences
+ -- | This module contains platform specific information about types.
+ -- __/As such the types presented on this page reflect the platform
+ -- on which the documentation was generated and may not coincide with
+ -- the types on your platform./__
#if defined(HTYPE_DEV_T)
CDev(..),
#endif