mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-29 00:10:21 +02:00
* posix.c: Doc fixes.
This commit is contained in:
parent
1c9610334e
commit
398609a5a8
1 changed files with 20 additions and 16 deletions
|
@ -139,22 +139,6 @@ char *strptime ();
|
||||||
#include <locale.h>
|
#include <locale.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* On NextStep, <utime.h> doesn't define struct utime, unless we
|
|
||||||
#define _POSIX_SOURCE before #including it. */
|
|
||||||
#ifdef UTIMBUF_NEEDS_POSIX
|
|
||||||
#define _POSIX_SOURCE
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef HAVE_SYS_UTIME_H
|
|
||||||
#include <sys/utime.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef HAVE_UTIME_H
|
|
||||||
#include <utime.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Some Unix systems don't define these. CPP hair is dangerous, but
|
/* Some Unix systems don't define these. CPP hair is dangerous, but
|
||||||
this seems safe enough... */
|
this seems safe enough... */
|
||||||
#ifndef R_OK
|
#ifndef R_OK
|
||||||
|
@ -172,6 +156,26 @@ char *strptime ();
|
||||||
#ifndef F_OK
|
#ifndef F_OK
|
||||||
#define F_OK 0
|
#define F_OK 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* On NextStep, <utime.h> doesn't define struct utime, unless we
|
||||||
|
#define _POSIX_SOURCE before #including it. I think this is less
|
||||||
|
of a kludge than defining struct utimbuf ourselves. */
|
||||||
|
#ifdef UTIMBUF_NEEDS_POSIX
|
||||||
|
#define _POSIX_SOURCE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAVE_SYS_UTIME_H
|
||||||
|
#include <sys/utime.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAVE_UTIME_H
|
||||||
|
#include <utime.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Please don't add any more #includes or #defines here. The hack
|
||||||
|
above means that _POSIX_SOURCE may be #defined, which will
|
||||||
|
encourage header files to do strange things. */
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue