From 993bbeb38505f7b0ce815be673cb708a07159673 Mon Sep 17 00:00:00 2001 From: ross Date: Thu, 2 Dec 2004 15:57:04 +0000 Subject: [PATCH] [project @ 2004-12-02 15:57:02 by ross] Hugs only: replace the CBITS pragma (files relative to cbits) with CFILES (files relative to the root of the package). --- Foreign/C/Error.hs | 2 +- System/Posix/Internals.hs | 2 +- System/Process/Internals.hs | 2 +- Text/Regex/Posix.hsc | 10 +++++----- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Foreign/C/Error.hs b/Foreign/C/Error.hs index 6d420d9..9ee6499 100644 --- a/Foreign/C/Error.hs +++ b/Foreign/C/Error.hs @@ -124,7 +124,7 @@ import System.IO.Unsafe ( unsafePerformIO ) #endif #ifdef __HUGS__ -{-# CBITS PrelIOUtils.c #-} +{-# CFILES cbits/PrelIOUtils.c #-} #endif diff --git a/System/Posix/Internals.hs b/System/Posix/Internals.hs index 943b58f..4976e9d 100644 --- a/System/Posix/Internals.hs +++ b/System/Posix/Internals.hs @@ -45,7 +45,7 @@ import System.IO #ifdef __HUGS__ import Hugs.Prelude (IOException(..), IOErrorType(..)) -{-# CBITS PrelIOUtils.c dirUtils.c consUtils.c #-} +{-# CFILES cbits/PrelIOUtils.c cbits/dirUtils.c cbits/consUtils.c #-} ioException = ioError #endif diff --git a/System/Process/Internals.hs b/System/Process/Internals.hs index 0d01825..f53dd5b 100644 --- a/System/Process/Internals.hs +++ b/System/Process/Internals.hs @@ -33,7 +33,7 @@ import Foreign.C.Types ( CInt ) import Foreign.Ptr ( Ptr ) #ifdef __HUGS__ -{-# CBITS execvpe.c #-} +{-# CFILES cbits/execvpe.c #-} #endif -- ---------------------------------------------------------------------------- diff --git a/Text/Regex/Posix.hsc b/Text/Regex/Posix.hsc index 5ab5c9a..930b40a 100644 --- a/Text/Regex/Posix.hsc +++ b/Text/Regex/Posix.hsc @@ -43,11 +43,11 @@ module Text.Regex.Posix ( #include "regex.h" #else #include "regex/regex.h" -{-# CBITS regex/reallocf.c #-} -{-# CBITS regex/regcomp.c #-} -{-# CBITS regex/regerror.c #-} -{-# CBITS regex/regexec.c #-} -{-# CBITS regex/regfree.c #-} +{-# CFILES cbits/regex/reallocf.c #-} +{-# CFILES cbits/regex/regcomp.c #-} +{-# CFILES cbits/regex/regerror.c #-} +{-# CFILES cbits/regex/regexec.c #-} +{-# CFILES cbits/regex/regfree.c #-} #endif import Prelude -- 1.7.10.4