diff options
author | Ian Lynagh <igloo@earth.li> | 2008-05-20 16:20:39 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2008-05-20 16:20:39 +0000 |
commit | ad8b242b314171f3bfde528f498c375688e8ba28 (patch) | |
tree | 09da6c82073406b06752e0888e13c7055d5ebd78 /System/Posix/Temp.hsc | |
parent | 9d73d3b6cc38eb65901d89e964306a6e0ba4ab6e (diff) |
Use the __hscore_mkstemp wrapper from the base package
This is for #2038: macros are used in the Linux .h includes to redirect
to a 64-bit version when large file support is enabled.
Diffstat (limited to 'System/Posix/Temp.hsc')
-rw-r--r-- | System/Posix/Temp.hsc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/System/Posix/Temp.hsc b/System/Posix/Temp.hsc index 8c76290..f9ebc68 100644 --- a/System/Posix/Temp.hsc +++ b/System/Posix/Temp.hsc @@ -61,6 +61,6 @@ foreign import ccall unsafe "mktemp" c_mktemp :: CString -> IO CString #endif -foreign import ccall unsafe "mkstemp" +foreign import ccall unsafe "HsBase.h __hscore_mkstemp" c_mkstemp :: CString -> IO CInt |