view include/iso646.h @ 444:3f3bba82e2e0

Why doesn't iso646 "#define begin {" and "#define end }" while it's at it?
author Rob Landley <rob@landley.net>
date Mon, 07 May 2007 12:44:33 -0400
parents
children
line wrap: on
line source

#ifndef _ISO646_H
#define _ISO646_H

/* ISOC99 "Alternative spellings", section 7.9 */

/* Using this file means you are a bad programmer. */

#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 /* _ISO646_H */