From: Martin Str|mberg Message-Id: <200003051136.MAA03256@father.ludd.luth.se> Subject: iso646.h and some questions To: djgpp-workers AT delorie DOT com (DJGPP-WORKERS) Date: Sun, 5 Mar 2000 12:36:08 +0100 (MET) X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Reply-To: djgpp-workers AT delorie DOT com Here's the (standard) file iso646.h. Some files #defines constants several times. E. g. NULL is in wchar.h and in stddef.h. Should those #defines be wrapped in #ifndef/#endif? Shall I send header files containing new functions, so other people can start implementing them? Messiaen, Turangalila Symphony, MartinS ----- include/iso646.h starts. ------ /* * File iso646.h. * According to the standard ISO/IEC 9899:1999 (E). * * Copyright (C) 2000 Martin Strömberg . * * This software may be used freely so long as this copyright notice is * left intact. There is no warranty on this software. * */ #ifndef __dj_include_iso646_h_ #define __dj_include_iso646_h_ #define and && #define and_eq &= #define bitand & #define bitor | #define compl ~ #define not ! #define not_eq != #define or || #define or_eq |= #define xor ^ #define xor_eq ^= #endif /* ! __dj_include_iso646_h_ */ ----- include/iso646.h ends. ------