Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
06e782c6
Commit
06e782c6
authored
Feb 20, 2007
by
Simon Marlow
Browse files
use HsInt64 instead of int64_t, fixes this test on Windows (and is more correct)
parent
60ce42c5
Changes
2
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/ccall/should_run/ffi018.h
View file @
06e782c6
#include "HsFFI.h"
#include <sys/types.h>
HsInt64
f
(
void
);
int64_t
f
(
void
);
testsuite/tests/ghc-regress/ccall/should_run/ffi018_c.c
View file @
06e782c6
#include "ffi018.h"
#include "ffi018.h"
i
nt64
_t
f
(
void
)
{
HsI
nt64
f
(
void
)
{
return
0x123456789ABCDEF0LL
;
return
0x123456789ABCDEF0LL
;
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment