7 -- ANSI macro relies on the fact that it can be replaced by (), or by
8 -- its value, where the value is one value due to the preprocessors
9 -- handling of arguments that are surrounded by ()'s as a single
13 -- Dennis Vadura, dvadura@dmake.wticorp.com
16 -- http://dmake.wticorp.com/
19 -- Copyright (c) 1996,1997 by WTI Corp. All rights reserved.
21 -- This program is NOT free software; you can redistribute it and/or
22 -- modify it under the terms of the Software License Agreement Provided
23 -- in the file <distribution-root>/readme/license.txt.
26 -- Use cvs log to obtain detailed change logs.
32 /* AIX and Mac MPW define __STDC__ as special, but defined(__STDC__) is false,
33 * and it has no value. */
38 /* MSVC 6 and newer understand ANSI prototypes */
39 #if __STDC__ || defined(__TURBOC__) || defined(__IBMC__) || defined (_MSC_VER)
45 #define NIL(p) ((p*)NULL)
47 /* Cygwin defines _STDDEF_H with only one leading '_' */
48 #if !defined(atarist) && !defined(__STDDEF_H) && !defined(_STDDEF_H)
49 #define offsetof(type,id) ((size_t)&((type*)NULL)->id)