Branch: Tag:

2003-02-10

2003-02-10 17:10:40 by Martin Stjernholm <mast@lysator.liu.se>

Better names for the YES, NO and UNKNOWN flags to avoid clashes.

Rev: src/acconfig.h:1.115
Rev: src/builtin_functions.c:1.475
Rev: src/configure.in:1.685
Rev: src/gc.c:1.206
Rev: src/modules/system/system.c:1.140
Rev: src/threads.c:1.201
Rev: src/threads.h:1.123

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: acconfig.h,v 1.114 2003/02/10 16:45:22 mast Exp $ + || $Id: acconfig.h,v 1.115 2003/02/10 17:10:39 mast Exp $   */      #ifndef MACHINE_H
509:   /* Define to the page size (handled efficiently by malloc). */   #undef PIKE_MALLOC_PAGE_SIZE    - /* YES if the number reported by get_cpu_time (rusage.c) is thread -  * local, NO if it isn't, UNKNOWN if it couldn't be established. */ + /* PIKE_YES if the number reported by get_cpu_time (rusage.c) is +  * thread local, PIKE_NO if it isn't, PIKE_UNKNOWN if it couldn't be +  * established. */   #undef CPU_TIME_IS_THREAD_LOCAL      @BOTTOM@
605:   #define DEFINETOSTR(X) TOSTR(X)      /* Some identifiers used as flags in the defines above. */ - #define YES 1 - #define NO 2 - #define UNKNOWN 3 + #define PIKE_YES 1 + #define PIKE_NO 2 + #define PIKE_UNKNOWN 3      #endif /* MACHINE_H */