version 1.27, 2008/08/05 09:17:06
|
version 1.29, 2008/08/09 21:28:39
|
Line 24
|
Line 24
|
c-library libffi |
c-library libffi |
s" ffi" add-lib |
s" ffi" add-lib |
|
|
s" os-type" environment? [IF] s" darwin" string-prefix? |
\ The ffi.h of XCode needs the following line, and it should not hurt elsewhere |
[IF] |
\c #define MACOSX |
\c #define MACOSX |
include-ffi.h-string save-c-prefix-line \ #include <ffi.h> |
\c #include <ffi/ffi.h> |
|
[ELSE] |
|
\c #include <ffi.h> |
|
[THEN] |
|
[ELSE] |
|
\c #include <ffi.h> |
|
[THEN] |
|
\c extern Cell *gforth_RP; |
\c extern Cell *gforth_RP; |
\c extern unsigned char *gforth_LP; |
\c extern unsigned char *gforth_LP; |
\c static void **gforth_clist; |
\c static void **gforth_clist; |