Do not use '#endif xxx'; it is not allowed for ANSI C
This commit is contained in:
parent
c0ba3fbe2d
commit
abb411daac
|
@ -53,10 +53,8 @@
|
|||
#define SZ_WORD (arith)4
|
||||
#define SZ_INT (arith)4
|
||||
#define SZ_LONG (arith)4
|
||||
#ifndef NOFLOAT
|
||||
#define SZ_FLOAT (arith)4
|
||||
#define SZ_DOUBLE (arith)8
|
||||
#endif NOFLOAT
|
||||
#define SZ_POINTER (arith)4
|
||||
|
||||
/* target machine alignment requirements */
|
||||
|
@ -65,10 +63,8 @@
|
|||
#define AL_WORD SZ_WORD
|
||||
#define AL_INT SZ_WORD
|
||||
#define AL_LONG SZ_WORD
|
||||
#ifndef NOFLOAT
|
||||
#define AL_FLOAT SZ_WORD
|
||||
#define AL_DOUBLE SZ_WORD
|
||||
#endif NOFLOAT
|
||||
#define AL_POINTER SZ_WORD
|
||||
#define AL_STRUCT 1
|
||||
#define AL_UNION 1
|
||||
|
|
|
@ -53,10 +53,8 @@
|
|||
#define SZ_WORD (arith)4
|
||||
#define SZ_INT (arith)4
|
||||
#define SZ_LONG (arith)4
|
||||
#ifndef NOFLOAT
|
||||
#define SZ_FLOAT (arith)4
|
||||
#define SZ_DOUBLE (arith)8
|
||||
#endif NOFLOAT
|
||||
#define SZ_POINTER (arith)4
|
||||
|
||||
/* target machine alignment requirements */
|
||||
|
@ -65,10 +63,8 @@
|
|||
#define AL_WORD 2
|
||||
#define AL_INT 2
|
||||
#define AL_LONG 2
|
||||
#ifndef NOFLOAT
|
||||
#define AL_FLOAT 2
|
||||
#define AL_DOUBLE 2
|
||||
#endif NOFLOAT
|
||||
#define AL_POINTER 2
|
||||
#define AL_STRUCT 2
|
||||
#define AL_UNION 2
|
||||
|
|
|
@ -53,10 +53,8 @@
|
|||
#define SZ_WORD (arith)4
|
||||
#define SZ_INT (arith)4
|
||||
#define SZ_LONG (arith)4
|
||||
#ifndef NOFLOAT
|
||||
#define SZ_FLOAT (arith)4
|
||||
#define SZ_DOUBLE (arith)8
|
||||
#endif NOFLOAT
|
||||
#define SZ_POINTER (arith)4
|
||||
|
||||
/* target machine alignment requirements */
|
||||
|
@ -65,10 +63,8 @@
|
|||
#define AL_WORD SZ_WORD
|
||||
#define AL_INT SZ_WORD
|
||||
#define AL_LONG SZ_WORD
|
||||
#ifndef NOFLOAT
|
||||
#define AL_FLOAT SZ_WORD
|
||||
#define AL_DOUBLE SZ_WORD
|
||||
#endif NOFLOAT
|
||||
#define AL_POINTER SZ_WORD
|
||||
#define AL_STRUCT 1
|
||||
#define AL_UNION 1
|
||||
|
|
|
@ -15,5 +15,5 @@
|
|||
#else
|
||||
#define assert(exp) (1)
|
||||
#define _assert(exp) (1)
|
||||
#endif NDEBUG
|
||||
#endif /* NDEBUG */
|
||||
#endif /* _ASSERT_H */
|
||||
|
|
Loading…
Reference in a new issue