Skip to content
Browse files

tweak to Configure for windows. removed DefaultSetup since it breaks …

…windows cabal 1.0 installations.
  • Loading branch information...
1 parent 1917116 commit 21dc55788a15166b00f3e653ebd70a22e27c9d1a @SyntaxPolice SyntaxPolice committed
Showing with 1 addition and 33 deletions.
  1. +0 −32 Cabal.cabal
  2. +1 −1 src/Distribution/Simple/Configure.hs
View
32 Cabal.cabal
@@ -49,35 +49,3 @@ Other-Modules:
Distribution.Compat.Exception,
Distribution.Compat.RawSystem
Extensions: CPP
-
-executable: cabal-setup
-main-is: DefaultSetup.lhs
-hs-source-dir: src
-Other-Modules:
- Distribution.Compat.ReadP,
- Distribution.Extension,
- Distribution.InstalledPackageInfo,
- Distribution.License,
- Distribution.Make,
- Distribution.Package,
- Distribution.PackageDescription,
- Distribution.ParseUtils,
- Distribution.PreProcess,
- Distribution.PreProcess.Unlit,
- Distribution.Setup,
- Distribution.Simple,
- Distribution.Simple.Build,
- Distribution.Simple.Configure,
- Distribution.Simple.GHCPackageConfig,
- Distribution.Simple.Install,
- Distribution.Simple.LocalBuildInfo,
- Distribution.Simple.Register,
- Distribution.Simple.SrcDist,
- Distribution.Simple.Utils,
- Distribution.Compat.FilePath,
- Distribution.Version,
- Distribution.GetOpt,
- Distribution.Compat.Directory,
- Distribution.Compat.Exception,
- Distribution.Compat.RawSystem
-Extensions: CPP
View
2 src/Distribution/Simple/Configure.hs
@@ -253,7 +253,7 @@ system_default_prefix =
csidl_PROGRAM_FILES = 0x0026
long_path_size = 1024
-foreign import stdcall unsafe "SHGetFolderPath"
+foreign import stdcall unsafe "SHGetFolderPathW"
c_SHGetFolderPath :: Ptr ()
-> CInt
-> Ptr ()

0 comments on commit 21dc557

Please sign in to comment.
Something went wrong with that request. Please try again.