Skip to content

Commit

Permalink
exporting afunix_compat.h only on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
kazu-yamamoto committed May 23, 2023
1 parent ad74f21 commit 176aa09
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions network.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,12 @@ library

default-language: Haskell2010
include-dirs: include
includes: HsNet.h HsNetDef.h alignment.h win32defs.h afunix_compat.h
install-includes: HsNet.h HsNetDef.h alignment.h win32defs.h afunix_compat.h
includes: HsNet.h HsNetDef.h alignment.h win32defs.h
install-includes: HsNet.h HsNetDef.h alignment.h win32defs.h
if os(windows)
includes: afunix_compat.h
install-includes: afunix_compat.h

ghc-options: -Wall -fwarn-tabs
build-depends:
base >=4.9 && <5,
Expand Down

0 comments on commit 176aa09

Please sign in to comment.