arbtt 0.4.5 → 0.4.5.1
raw patch · 2 files changed
+19/−1 lines, 2 files
Files
- arbtt.cabal +5/−1
- src/CommonStartup.hs +14/−0
arbtt.cabal view
@@ -1,5 +1,5 @@ name: arbtt-version: 0.4.5+version: 0.4.5.1 license: GPL license-file: LICENSE category: Desktop@@ -35,6 +35,7 @@ other-modules: Data Data.Binary.StringRef+ CommonStartup Capture TimeLog UpgradeLog1@@ -66,6 +67,7 @@ other-modules: Data Data.Binary.StringRef+ CommonStartup Categorize TimeLog Stats@@ -83,6 +85,7 @@ other-modules: Data Data.Binary.StringRef+ CommonStartup TimeLog if os(windows) cpp-options: -DWIN32@@ -98,6 +101,7 @@ other-modules: Data Data.Binary.StringRef+ CommonStartup TimeLog if os(windows) cpp-options: -DWIN32
+ src/CommonStartup.hs view
@@ -0,0 +1,14 @@+{-# LANGUAGE CPP #-}++module CommonStartup where++#ifndef WIN32+import System.Locale.SetLocale+#endif++commonStartup :: IO ()+commonStartup = do+#ifndef WIN32+ setLocale LC_ALL (Just "") +#endif+ return ()