1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-03 05:20:16 +02:00
guile/libguile/acconfig.h
Gary Houston f93ddd3985 * configure.in: add tests for figuring out whether buffered data
is available in a FILE structure, which is needed by char-ready.

* acconfig.h: define FILE_CNT_FIELD, FILE_CNT_GPTR and
FILE_CNT_READPTR.

* simpos.c (scm_getenv): renamed from scm_sys_getenv.  Throw
exceptions using misc_error instead of syserror.  It seems a bit
odd to throw an exception if a string can't be found in the
environment, but it's consistent with open-file, stat etc.
(simpos.h): remove sys_ from getenv.

* posix.c (scm_putenv): renamed from scm_sys_putenv.  If an error
occurs, throw an error instead of returning errno.  Return value
is now unspecified.
(numerous in posix.c and posix.h): removed superfluous sys_ from names.
1996-10-28 09:44:07 +00:00

69 lines
2.3 KiB
C

/* acconfig.h --- documentation for symbols possibly defined in scmconfig.h
Jim Blandy <jimb@cyclic.com> --- August 1996 */
/* Define these two if you want support for debugging of Scheme
programs. */
#undef DEBUG_EXTENSIONS
#undef READER_EXTENSIONS
/* Define this if your system has a way to set a stdio stream's file
descriptor. You should also copy fd.h.in to fd.h, and give the
macro SET_FILE_FD_FIELD an appropriate definition. See
configure.in for more details. */
#undef HAVE_FD_SETTER
/* Define this if your system has a way to set a stdio stream's file
descriptor. You should also copy fd.h.in to fd.h, and give the
macro SET_FILE_FD_FIELD an appropriate definition. See
configure.in for more details. */
#undef HAVE_FD_SETTER
/* Set this to the name of a field in FILE which contains the number
of buffered characters waiting to be read. */
#undef FILE_CNT_FIELD
/* Define this if your stdio has _gptr and _egptr fields which can
be compared to give the number of buffered characters waiting to
be read. */
#undef FILE_CNT_GPTR
/* Define this if your stdio has _IO_read_ptr and _IO_read_end fields
which can be compared to give the number of buffered characters
waiting to be read. */
#undef FILE_CNT_READPTR
/* Define this if your system defines struct linger, for use with the
getsockopt and setsockopt system calls. */
#undef HAVE_STRUCT_LINGER
/* Define this if floats are the same size as longs. */
#undef SCM_SINGLES
/* Define this if a callee's stack frame has a higher address than the
caller's stack frame. On most machines, this is not the case. */
#undef SCM_STACK_GROWS_UP
/* Define this if <utime.h> doesn't define struct utimbuf unless
_POSIX_SOURCE is #defined. */
#undef UTIMBUF_NEEDS_POSIX
/* Define these to indicate the current version of Guile. These
values are supposed to be supplied by the configuration system. */
#undef GUILE_MAJOR_VERSION
#undef GUILE_MINOR_VERSION
#undef GUILE_VERSION
/* Define if using cooperative multithreading. */
#undef USE_COOP_THREADS
/* Define if using "FSU" pthreads. */
#undef USE_FSU_PTHREADS
/* Define if using MIT pthreads. */
#undef USE_MIT_PTHREADS
/* Define if using PCthreads pthreads. */
#undef USE_PCTHREADS_PTHREADS
/* Define if using any sort of threads. */
#undef USE_THREADS