Skip to content

Commit 8bc63c5

Browse files
committed
Haskell2010 implies ForeignFunctionInterface. Use other-extensions.
1 parent b84ac19 commit 8bc63c5

File tree

5 files changed

+4
-4
lines changed

5 files changed

+4
-4
lines changed

GLUT.cabal

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,8 @@ library
176176
hs-source-dirs: src
177177
include-dirs: include
178178
build-depends: base >= 3 && < 5, array >= 0.3, containers >= 0.3, OpenGL >= 2.8.0.0, OpenGLRaw >= 1.3.0.0
179+
default-language: Haskell2010
180+
other-extensions: CPP
179181
ghc-options: -Wall -O2
180182
if os(windows) && flag(UseNativeWindowsLibraries)
181183
if arch(i386)

src/Graphics/UI/GLUT/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/UI/GLUT/Raw/Callbacks.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
{-# LANGUAGE ForeignFunctionInterface #-}
21
{-# OPTIONS_HADDOCK hide #-}
32
-----------------------------------------------------------------------------
43
-- |

src/Graphics/UI/GLUT/Raw/Fonts.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
{-# LANGUAGE ForeignFunctionInterface #-}
21
{-# OPTIONS_HADDOCK hide #-}
32
-----------------------------------------------------------------------------
43
-- |

src/Graphics/UI/GLUT/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
{-# OPTIONS_HADDOCK hide #-}
33
-----------------------------------------------------------------------------
44
-- |

0 commit comments

Comments
 (0)