projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
0.8.15.6:
[sbcl.git]
/
tools-for-build
/
grovel-headers.c
diff --git
a/tools-for-build/grovel-headers.c
b/tools-for-build/grovel-headers.c
index
c065542
..
dc50054
100644
(file)
--- a/
tools-for-build/grovel-headers.c
+++ b/
tools-for-build/grovel-headers.c
@@
-29,6
+29,7
@@
#include <unistd.h>
#include <signal.h>
#include <errno.h>
#include <unistd.h>
#include <signal.h>
#include <errno.h>
+#include <dlfcn.h>
#include "genesis/config.h"
#include "genesis/config.h"
@@
-61,6
+62,14
@@
main(int argc, char *argv[])
\n\
");
\n\
");
+ printf("(in-package \"SB!ALIEN\")\n\n");
+
+ printf (";;;flags for dlopen()\n");
+
+ defconstant ("rtld-lazy", RTLD_LAZY);
+ defconstant ("rtld-now", RTLD_NOW);
+ defconstant ("rtld-global", RTLD_GLOBAL);
+
printf("(in-package \"SB!UNIX\")\n\n");
printf(";;; types, types, types\n");
printf("(in-package \"SB!UNIX\")\n\n");
printf(";;; types, types, types\n");