20 lines
433 B
C
20 lines
433 B
C
// C95 iso646.h — alternative spellings of the C operators. Mandated
|
|
// by C11 for portability with sources written under older standards
|
|
// or in code-pages without the punctuation symbols.
|
|
|
|
#ifndef _ISO646_H
|
|
#define _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
|