/* Copyright (C) 2003, 2006 Free Software Foundation, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ /* This file is automatically generated -- see configure.in for details */ #ifndef SCM_SCMCONFIG_H #define SCM_SCMCONFIG_H /* Important headers */ #include #include #include #include #define SCM_HAVE_STDC_HEADERS 1 /* 0 or 1 */ #include #include #include #define SCM_HAVE_SYS_SELECT_H 1 /* 0 or 1 */ #define SCM_HAVE_FLOATINGPOINT_H 0 /* 0 or 1 */ #define SCM_HAVE_IEEEFP_H 0 /* 0 or 1 */ #define SCM_HAVE_NAN_H 0 /* 0 or 1 */ #define SCM_HAVE_WINSOCK2_H 0 /* 0 or 1 */ /* Define to include various undocumented debugging functions. */ /* #undef GUILE_DEBUG */ /* Define this to debug the free list (helps w/ GC bugs). */ /* #undef GUILE_DEBUG_FREELIST */ /* Set to 1 if you want to enable discouraged features. */ /* (value will be 0 or 1). */ #define SCM_ENABLE_DISCOURAGED 1 /* Set to 1 if you want to enable deprecated features. */ /* (value will be 0 or 1). */ #define SCM_ENABLE_DEPRECATED 1 /* Set to 1 to add Elisp support (in addition to Scheme). */ #define SCM_ENABLE_ELISP 1 /* 0 or 1 */ /* Set to 1 if the stack grows up, 0 otherwise. */ #define SCM_STACK_GROWS_UP 0 /* 0 or 1 */ /* C compiler's syntax for inline functions if any, otherwise undefined. */ #define SCM_C_INLINE inline /* Standard types. */ /* These are always defined */ #define SCM_SIZEOF_CHAR 1 #define SCM_SIZEOF_UNSIGNED_CHAR 1 #define SCM_SIZEOF_SHORT 2 #define SCM_SIZEOF_UNSIGNED_SHORT 2 #define SCM_SIZEOF_LONG 8 #define SCM_SIZEOF_UNSIGNED_LONG 8 #define SCM_SIZEOF_INT 4 #define SCM_SIZEOF_UNSIGNED_INT 4 #define SCM_SIZEOF_SIZE_T 8 /* Size of (unsigned) long long or 0 if not available (scm_t_*64 may be more likely to be what you want */ #define SCM_SIZEOF_LONG_LONG 8 #define SCM_SIZEOF_UNSIGNED_LONG_LONG 8 /* handling for the deprecated long_long and ulong_long types */ /* If anything suitable is available, it'll be defined here. */ #if (SCM_ENABLE_DEPRECATED == 1) typedef long long long_long; typedef unsigned long long ulong_long; #endif /* SCM_ENABLE_DEPRECATED == 1 */ /* These are always defined. */ typedef int8_t scm_t_int8; typedef uint8_t scm_t_uint8; typedef int16_t scm_t_int16; typedef uint16_t scm_t_uint16; typedef int32_t scm_t_int32; typedef uint32_t scm_t_uint32; typedef intmax_t scm_t_intmax; typedef uintmax_t scm_t_uintmax; #define SCM_SIZEOF_INTMAX 8 #define SCM_HAVE_T_INT64 1 /* 0 or 1 */ typedef int64_t scm_t_int64; #define SCM_HAVE_T_UINT64 1 /* 0 or 1 */ typedef uint64_t scm_t_uint64; /* scm_t_ptrdiff_t and size, always defined -- defined to long if platform doesn't have ptrdiff_t. */ typedef ptrdiff_t scm_t_ptrdiff; #define SCM_SIZEOF_SCM_T_PTRDIFF 8 /* Size of intptr_t or 0 if not available */ #define SCM_SIZEOF_INTPTR_T 8 /* Size of uintptr_t or 0 if not available */ #define SCM_SIZEOF_UINTPTR_T 8 /* same as POSIX "struct timespec" -- always defined */ typedef struct timespec scm_t_timespec; /*** Threading model (scmconfig.h support not finished) ***/ /* Define to 1 if using pthread multithreading. */ #define SCM_USE_PTHREAD_THREADS 1 /* 0 or 1 */ /* Define to 1 if using one-thread 'multi'threading. */ #define SCM_USE_NULL_THREADS 0 /* 0 or 1 */ /* Define to 1 if need braces around PTHREAD_ONCE_INIT (for Solaris). */ #define SCM_NEED_BRACES_ON_PTHREAD_ONCE_INIT 0 /* 0 or 1 */ /* Define to 1 if need braces around PTHREAD_MUTEX_INITIALIZER (for IRIX with GCC) */ #define SCM_NEED_BRACES_ON_PTHREAD_MUTEX_INITIALIZER 0 /* 0 or 1 */ /*** File system access ***/ /* Define to 1 if `struct dirent64' is available. */ #define SCM_HAVE_STRUCT_DIRENT64 1 /* 0 or 1 */ /* Define to 1 if `readdir64_r ()' is available. */ #define SCM_HAVE_READDIR64_R 1 /* 0 or 1 */ #if SCM_ENABLE_DEPRECATED == 1 # define USE_THREADS 1 /* always true now */ # define GUILE_ISELECT 1 /* always true now */ # define READER_EXTENSIONS 1 /* always true now */ # define DEBUG_EXTENSIONS 1 /* always true now */ # define DYNAMIC_LINKING 1 /* always true now */ #endif #define SCM_HAVE_ARRAYS 1 /* always true now */ #endif