Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This closes #2.
- Loading branch information
Showing
3 changed files
with
36 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,19 @@ | ||
{-# LANGUAGE CPP #-} | ||
|
||
module Capture ( | ||
#ifdef WIN32 | ||
#if defined(WIN32) | ||
module Capture.Win32 | ||
#elif defined(DARWIN) | ||
module Capture.OSX | ||
#else | ||
module Capture.X11 | ||
#endif | ||
) where | ||
|
||
#ifdef WIN32 | ||
#if defined(WIN32) | ||
import Capture.Win32 | ||
#elif defined(DARWIN) | ||
import Capture.OSX | ||
#else | ||
import Capture.X11 | ||
#endif |