Branch: Tag:

2003-04-02

2003-04-02 00:55:09 by Martin Stjernholm <mast@lysator.liu.se>

More fixes to work in configure tests.

Rev: src/pike_error.h:1.30
Rev: src/pike_threadlib.h:1.42
Rev: src/port.c:1.70
Rev: src/threads.c:1.215

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: threads.c,v 1.214 2003/04/01 19:41:13 mast Exp $ + || $Id: threads.c,v 1.215 2003/04/02 00:55:09 mast Exp $   */      #ifndef CONFIGURE_TEST   #include "global.h" - RCSID("$Id: threads.c,v 1.214 2003/04/01 19:41:13 mast Exp $"); + RCSID("$Id: threads.c,v 1.215 2003/04/02 00:55:09 mast Exp $");      PMOD_EXPORT int num_threads = 1;   PMOD_EXPORT int threads_disabled = 0;
47:   PMOD_EXPORT COND_T threads_disabled_change;   PMOD_EXPORT size_t thread_stack_size=256 * 1204;    + #else + #include "pike_threadlib.h" + #endif /* !CONFIGURE_TEST */ +    PMOD_EXPORT void thread_low_error (int errcode)   {    Pike_fatal ("Unexpected error from thread function: %d\n", errcode);   }    - #else - #include "pike_threadlib.h" - #endif /* !CONFIGURE_TEST */ -  +    /* SCO magic... */   int __thread_sys_behavior = 1;