1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- /*
- * Part of Scheme 48 1.9. See file COPYING for notices and license.
- *
- * Authors: Mike Sperber, Marcus Crestani, Harald Glab-Phlak
- */
- /*
- * For building and linking DLLs on Windows, we need to mark functions
- * the DLL calls in Scheme 48 and vice versa explicitly---and differently
- * depending on whether we're compiling the DLL or Scheme 48 itself.
- *
- * Therefore, on Windows, we assume that __COMPILING_SCHEME48_ITSELF__
- * is defined when Scheme 48 itself is being compiled, and not when
- * we're compiling something external against it.
- */
- #if defined(__CYGWIN__) || defined(_WIN32)
- # ifdef __COMPILING_SCHEME48_ITSELF__
- # define S48_EXTERN_ADD_ONS __declspec(dllexport)
- # else
- # define S48_EXTERN_ADD_ONS __declspec(dllimport)
- # endif
- #endif
- #ifndef S48_EXTERN_ADD_ONS
- # define S48_EXTERN_ADD_ONS
- #endif
- #define S48_EXTERN extern S48_EXTERN_ADD_ONS
- /*
- * We repeat this so we won't have to install sysdep.h.
- */
- /* Check for sizeof (void *) */
- #undef SIZEOF_VOID_P
- /* Check for the number of bits per byte */
- #undef BITS_PER_BYTE
- /* Define if building with BIBOP GC. */
- #undef S48_GC_BIBOP
- /* Define if building with two-space GC. */
- #undef S48_GC_TWOSPACE
- /* Define to 1 if you have the <stdint.h> header file. */
- #undef HAVE_STDINT_H
- /* Define to 1 if you have the <sys/types.h> header file. */
- #undef HAVE_SYS_TYPES_H
- /* Define to the type of an unsigned integer type of width exactly 16 bits if
- such a type exists and the standard includes do not define it. */
- #undef uint16_t
|