* While most of SBCL is derived from the CMU CL system, many
* utilities for the build process (like this one) were written from
* scratch after the fork from CMU CL.
* While most of SBCL is derived from the CMU CL system, many
* utilities for the build process (like this one) were written from
* scratch after the fork from CMU CL.
* This software is in the public domain and is provided with
* absolutely no warranty. See the COPYING and CREDITS files for
* more information.
* This software is in the public domain and is provided with
* absolutely no warranty. See the COPYING and CREDITS files for
* more information.
defconstant(char* lisp_name, long unix_number)
{
printf("(defconstant %s %ld) ; #x%lx\n",
defconstant(char* lisp_name, long unix_number)
{
printf("(defconstant %s %ld) ; #x%lx\n",
defconstant ("rtld-lazy", RTLD_LAZY);
defconstant ("rtld-now", RTLD_NOW);
defconstant ("rtld-global", RTLD_GLOBAL);
defconstant ("rtld-lazy", RTLD_LAZY);
defconstant ("rtld-now", RTLD_NOW);
defconstant ("rtld-global", RTLD_GLOBAL);
defconstant("s-ifblk", S_IFBLK);
defconstant("s-ifreg", S_IFREG);
printf("\n");
defconstant("s-ifblk", S_IFBLK);
defconstant("s-ifreg", S_IFREG);
printf("\n");
defconstant("s-iflnk", S_IFLNK);
defconstant("s-ifsock", S_IFSOCK);
printf("\n");
defconstant("s-iflnk", S_IFLNK);
defconstant("s-ifsock", S_IFSOCK);
printf("\n");
defsignal("sigstkflt", SIGSTKFLT);
#endif
defsignal("sigstop", SIGSTOP);
defsignal("sigstkflt", SIGSTKFLT);
#endif
defsignal("sigstop", SIGSTOP);
defsignal("sigsys", SIGSYS);
#endif
defsignal("sigterm", SIGTERM);
defsignal("sigsys", SIGSYS);
#endif
defsignal("sigterm", SIGTERM);
defsignal("sigxcpu", SIGXCPU);
defsignal("sigxfsz", SIGXFSZ);
#endif
defsignal("sigxcpu", SIGXCPU);
defsignal("sigxfsz", SIGXFSZ);
#endif