Skip to content

Commit 69e9689

Browse files
committed
Haskell2010 implies ForeignFunctionInterface. Use other-extensions.
1 parent 1a8253e commit 69e9689

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

GLURaw.cabal

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ library
4545
hs-source-dirs: src
4646
include-dirs: include
4747
build-depends: base >= 3 && < 5, OpenGLRaw >= 1.3.0.0
48+
default-language: Haskell2010
4849
ghc-options: -Wall -O2
50+
other-extensions: CPP
4951
if os(windows) && flag(UseNativeWindowsLibraries)
5052
if arch(i386)
5153
cpp-options: "-DCALLCONV=stdcall"

src/Graphics/Rendering/GLU/Raw/APIEntry.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{-# LANGUAGE ForeignFunctionInterface, CPP #-}
1+
{-# LANGUAGE CPP #-}
22
{-# OPTIONS_HADDOCK hide #-}
33
--------------------------------------------------------------------------------
44
-- |

src/Graphics/Rendering/GLU/Raw/Callbacks.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{-# LANGUAGE ForeignFunctionInterface, CPP #-}
1+
{-# LANGUAGE CPP #-}
22
--------------------------------------------------------------------------------
33
-- |
44
-- Module : Graphics.Rendering.GLU.Raw.Callbacks

src/Graphics/Rendering/GLU/Raw/Functions.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{-# LANGUAGE ForeignFunctionInterface, CPP #-}
1+
{-# LANGUAGE CPP #-}
22
--------------------------------------------------------------------------------
33
-- |
44
-- Module : Graphics.Rendering.GLU.Raw.Functions

0 commit comments

Comments
 (0)