mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-10 22:10:21 +02:00
Rename win32-uname.[ch] to posix-w32.[ch]
* libguile/posix-w32.c: * libguile/posix-w32.h: Rename from win32-uname.c and win32-uname.h. * libguile/posix.c: * libguile/Makefile.am (EXTRA_libguile_@GUILE_EFFECTIVE_VERSION@_la_SOURCES) (noinst_HEADERS): Adapt.
This commit is contained in:
parent
8e48a58fcb
commit
61b8794e04
4 changed files with 10 additions and 10 deletions
|
@ -443,7 +443,7 @@ EXTRA_libguile_@GUILE_EFFECTIVE_VERSION@_la_SOURCES = _scm.h \
|
|||
dynl.c regex-posix.c \
|
||||
posix.c net_db.c socket.c \
|
||||
debug-malloc.c \
|
||||
win32-uname.c \
|
||||
posix-w32.c \
|
||||
locale-categories.h
|
||||
|
||||
## delete guile-snarf.awk from the installation bindir, in case it's
|
||||
|
@ -490,7 +490,7 @@ uninstall-hook:
|
|||
noinst_HEADERS = conv-integer.i.c conv-uinteger.i.c \
|
||||
srfi-14.i.c \
|
||||
quicksort.i.c \
|
||||
win32-uname.h \
|
||||
posix-w32.h \
|
||||
private-gc.h private-options.h ports-internal.h
|
||||
|
||||
# vm instructions
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "win32-uname.h"
|
||||
#include "posix-w32.h"
|
||||
|
||||
/*
|
||||
* Get name and information about current kernel.
|
|
@ -1,7 +1,7 @@
|
|||
/* classes: h_files */
|
||||
|
||||
#ifndef SCM_WIN32_UNAME_H
|
||||
#define SCM_WIN32_UNAME_H
|
||||
#ifndef SCM_POSIX_W32_H
|
||||
#define SCM_POSIX_W32_H
|
||||
|
||||
/* Copyright (C) 2001, 2006 Free Software Foundation, Inc.
|
||||
*
|
||||
|
@ -49,4 +49,4 @@ struct utsname
|
|||
|
||||
int uname (struct utsname * uts);
|
||||
|
||||
#endif /* SCM_WIN32_UNAME_H */
|
||||
#endif /* SCM_POSIX_W32_H */
|
|
@ -81,6 +81,10 @@
|
|||
#include "libguile/threads.h"
|
||||
|
||||
|
||||
#ifdef __MINGW32__
|
||||
# include "posix-w32.h"
|
||||
#endif
|
||||
|
||||
#if HAVE_SYS_WAIT_H
|
||||
# include <sys/wait.h>
|
||||
#endif
|
||||
|
@ -1426,10 +1430,6 @@ scm_open_process (SCM mode, SCM prog, SCM args)
|
|||
#undef FUNC_NAME
|
||||
#endif /* HAVE_START_CHILD */
|
||||
|
||||
#ifdef __MINGW32__
|
||||
# include "win32-uname.h"
|
||||
#endif
|
||||
|
||||
#if defined (HAVE_UNAME) || defined (__MINGW32__)
|
||||
SCM_DEFINE (scm_uname, "uname", 0, 0, 0,
|
||||
(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue