1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-08 22:50:27 +02:00

Include "scmconfig.h" in <libguile/boehm-gc.h>.

* libguile/boehm-gc.h: Use "scmconfig.h".  Check for
  `SCM_USE_PTHREAD_THREADS', not `SCM_I_GSC_USE_PTHREAD_THREADS'.
This commit is contained in:
Ludovic Courtès 2009-08-20 01:14:14 +02:00
parent 512c359507
commit aec3d99bcd

View file

@ -1,7 +1,7 @@
#ifndef SCM_BOEHM_GC_H
#define SCM_BOEHM_GC_H
/* Copyright (C) 2006, 2008 Free Software Foundation, Inc.
/* Copyright (C) 2006, 2008, 2009 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
@ -20,9 +20,9 @@
/* Correct header inclusion. */
#include "libguile/gen-scmconfig.h"
#include "libguile/scmconfig.h"
#ifdef SCM_I_GSC_USE_PTHREAD_THREADS
#ifdef SCM_USE_PTHREAD_THREADS
/* When pthreads are used, let `libgc' know about it and redirect allocation
calls such as `GC_MALLOC ()' to (contention-free, faster) thread-local