File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
cabal-install/src/Distribution/Client/Compat Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ import Foreign.Marshal.Alloc
1919import Foreign.Ptr
2020import Foreign.Storable
2121import System.Posix.Internals
22- #elif defined(linux_HOST_OS)
22+ #elif defined(linux_HOST_OS) || defined(gnu_HOST_OS)
2323import Foreign.C
2424import Foreign.Marshal.Array
2525import System.Posix.Internals
@@ -96,7 +96,7 @@ getExecutablePath = _NSGetExecutablePath >>= realpath
9696--------------------------------------------------------------------------------
9797-- Linux
9898
99- #elif defined(linux_HOST_OS)
99+ #elif defined(linux_HOST_OS) || defined(gnu_HOST_OS)
100100
101101foreign import ccall unsafe " readlink"
102102 c_readlink :: CString -> CString -> CSize -> IO CInt
You can’t perform that action at this time.
0 commit comments