File tree Expand file tree Collapse file tree 3 files changed +6
-8
lines changed
Expand file tree Collapse file tree 3 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 44unsigned int unix_major (dev_t dev );
55unsigned int unix_minor (dev_t dev );
66dev_t unix_makedev (unsigned int maj , unsigned int min );
7-
8- #define NEED_setSymbolicLinkOwnerAndGroup !HAVE_LCHOWN
Original file line number Diff line number Diff line change @@ -106,11 +106,11 @@ module System.PosixCompat.Files (
106106
107107#ifndef mingw32_HOST_OS
108108
109- #include "HsUnixCompat .h"
109+ #include "HsUnixConfig .h"
110110
111111import System.Posix.Files
112112
113- #if NEED_setSymbolicLinkOwnerAndGroup
113+ #if !HAVE_LCHOWN
114114import System.PosixCompat.Types
115115
116116setSymbolicLinkOwnerAndGroup :: FilePath -> UserID -> GroupID -> IO ()
Original file line number Diff line number Diff line change @@ -69,11 +69,11 @@ Library
6969
7070 else
7171 build-depends : unix >= 2.7.2.0 && < 2.9
72- include-dirs : include
73- includes : HsUnixCompat.h
74- install-includes : HsUnixCompat.h
7572 if !arch(wasm32)
76- c-sources : cbits/HsUnixCompat.c
73+ include-dirs : include
74+ includes : HsUnixCompat.h
75+ install-includes : HsUnixCompat.h
76+ c-sources : cbits/HsUnixCompat.c
7777 if os(solaris)
7878 cc-options : -DSOLARIS
7979
You can’t perform that action at this time.
0 commit comments