projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
FIX #1288: GHCi wasn't adding the @n suffix to stdcalls on Windows
[ghc-hetmet.git]
/
compiler
/
ghci
/
LibFFI.hsc
diff --git
a/compiler/ghci/LibFFI.hsc
b/compiler/ghci/LibFFI.hsc
index
3708238
..
7f24d01
100644
(file)
--- a/
compiler/ghci/LibFFI.hsc
+++ b/
compiler/ghci/LibFFI.hsc
@@
-6,12
+6,6
@@
--
-----------------------------------------------------------------------------
--
-----------------------------------------------------------------------------
-#ifndef USE_LIBFFI
-
-module LibFFI () where
-
-#else
-
#include <ffi.h>
module LibFFI (
#include <ffi.h>
module LibFFI (
@@
-142,5
+136,3
@@
foreign import ccall "ffi_prep_cif"
-- -> Ptr () -- put result here
-- -> Ptr (Ptr ()) -- arg values
-- -> IO ()
-- -> Ptr () -- put result here
-- -> Ptr (Ptr ()) -- arg values
-- -> IO ()
-
-#endif