Branch: Tag:

2003-02-20

2003-02-20 16:36:54 by Henrik Grubbström (Grubba) <grubba@grubba.org>

char isn't always signed...

Rev: src/configure.in:1.694
Rev: src/threads.c:1.209
Rev: src/threads.h:1.126

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.h,v 1.125 2003/02/20 11:55:33 grubba Exp $ + || $Id: threads.h,v 1.126 2003/02/20 16:36:54 grubba Exp $   */      #ifndef THREADS_H
31:    struct Pike_interpreter state;    struct object *thread_obj; /* NOTE: Not ref-counted! */    char swapped; + #ifdef __CHAR_UNSIGNED__ +  signed char status; + #else    char status; -  + #endif    COND_T status_change;    THREAD_T id;    struct mapping *thread_local;