@@ -73,9 +73,6 @@ import Text.Pandoc.Readers.Txt2Tags (getT2TMeta)
7373import Paths_pandoc (getDataDir)
7474import Text.Printf (printf)
7575import Text.Pandoc.Error
76−#ifdef _WINDOWS
77−import System.FilePath.Glob (glob)
78−#endif
7976
8077type Transform = Pandoc -> Pandoc
8178
@@ -1059,13 +1056,7 @@ main = do
10591056
10601057 -- thread option data structure through all supplied option actions
10611058 opts <- foldl (>>=) (return defaultOpts) actions
1062−
1063−-- on windows we need to do our own file globbing, since the shell doesn't.
1064−#ifdef _WINDOWS
1065− mapM glob args >>= convertWithOpts opts . concat
1066−#else
10671059 convertWithOpts opts args
1068−#endif
10691060
10701061convertWithOpts :: Opt -> [FilePath] -> IO ()
10711062convertWithOpts opts args = do