X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2FAdjustor.c;h=a4c6abeddbb3eff0b6b1963a75de9940e7b4a27b;hb=23845e41c280c04d854138672fa0577581f66610;hp=8c38df68d356203d803dee2348d40f724d84e0cd;hpb=8ded597b532eda747b5d911e6991cdb0013f77a1;p=ghc-hetmet.git diff --git a/rts/Adjustor.c b/rts/Adjustor.c index 8c38df6..a4c6abe 100644 --- a/rts/Adjustor.c +++ b/rts/Adjustor.c @@ -42,9 +42,9 @@ Haskell side. #include "RtsUtils.h" #include -#if defined(USE_LIBFFI) +#if defined(USE_LIBFFI_FOR_ADJUSTORS) -#include +#include "ffi.h" #include void @@ -716,7 +716,7 @@ TODO: Depending on how much allocation overhead stgMallocBytes uses for } else { - if((t == 'l' || t == 'L' || t == 'd') + if(t == 'l' || t == 'L' || t == 'd') { if(src_offset % 8) src_offset += 4; @@ -1172,4 +1172,4 @@ if ( *(unsigned char*)ptr != 0xe8 ) { freeExec(ptr); } -#endif // !USE_LIBFFI +#endif // !USE_LIBFFI_FOR_ADJUSTORS