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 4
4
unsigned int unix_major (dev_t dev );
5
5
unsigned int unix_minor (dev_t dev );
6
6
dev_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 (
106
106
107
107
#ifndef mingw32_HOST_OS
108
108
109
- #include "HsUnixCompat .h"
109
+ #include "HsUnixConfig .h"
110
110
111
111
import System.Posix.Files
112
112
113
- #if NEED_setSymbolicLinkOwnerAndGroup
113
+ #if !HAVE_LCHOWN
114
114
import System.PosixCompat.Types
115
115
116
116
setSymbolicLinkOwnerAndGroup :: FilePath -> UserID -> GroupID -> IO ()
Original file line number Diff line number Diff line change @@ -69,11 +69,11 @@ Library
69
69
70
70
else
71
71
build-depends : unix >= 2.7.2.0 && < 2.9
72
- include-dirs : include
73
- includes : HsUnixCompat.h
74
- install-includes : HsUnixCompat.h
75
72
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
77
77
if os(solaris)
78
78
cc-options : -DSOLARIS
79
79
You can’t perform that action at this time.
0 commit comments