1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-28 22:10:29 +02:00

Win32: add replacement for mkdtemp

* libguile/posix-w32.c (mkdtemp): new win32 replacement procedure
* libguile/posix-w32.h: add declaration for mkdtemp
  (HAVE_MKDTEMP): new define
* libguile/filesys.c: include posix-w32.h
This commit is contained in:
Michael Gran 2025-03-28 20:33:55 -07:00
parent c08debbd39
commit 0b70769247
3 changed files with 181 additions and 85 deletions

View file

@ -76,9 +76,11 @@ SCM_INTERNAL int dlclose_w32 (void *handle);
SCM_INTERNAL char *dlerror_w32 (void);
SCM_INTERNAL int console_has_return_keyevent_w32 (int fdes);
SCM_INTERNAL int getpagesize_w32 (void);
SCM_INTERNAL char* mkdtemp (char* template);
#define HAVE_UNAME 1
#define HAVE_WAITPID 1
#define HAVE_MKDTEMP 1
#define RTLD_NOW 1
#define RTLD_LAZY 2