projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
define-condition: return the name of the defined condition.
[sbcl.git]
/
src
/
runtime
/
bsd-os.c
diff --git
a/src/runtime/bsd-os.c
b/src/runtime/bsd-os.c
index
3f54aef
..
5e6eb52
100644
(file)
--- a/
src/runtime/bsd-os.c
+++ b/
src/runtime/bsd-os.c
@@
-22,6
+22,7
@@
#include <sys/param.h>
#include <sys/file.h>
#include <unistd.h>
#include <sys/param.h>
#include <sys/file.h>
#include <unistd.h>
+#include <utime.h>
#include <assert.h>
#include <errno.h>
#include "sbcl.h"
#include <assert.h>
#include <errno.h>
#include "sbcl.h"
@@
-90,6
+91,8
@@
os_init(char *argv[], char *envp[])
freebsd_init();
#elif defined(__OpenBSD__)
openbsd_init();
freebsd_init();
#elif defined(__OpenBSD__)
openbsd_init();
+#elif defined(LISP_FEATURE_DARWIN)
+ darwin_init();
#endif
}
#endif
}
@@
-340,6
+343,12
@@
_readdir(DIR *dirp)
return readdir(dirp);
}
return readdir(dirp);
}
+int
+_utime(const char *file, const struct utimbuf *timep)
+{
+ return utime(file, timep);
+}
+
/* Used in sb-bsd-sockets. */
int
_socket(int domain, int type, int protocol)
/* Used in sb-bsd-sockets. */
int
_socket(int domain, int type, int protocol)