X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=includes%2Fiso646.h;h=48ca809ed35c120fe1409f4e26f72e059759619d;hb=4c805021b487dff9bfc6341c998ba99636416ae7;hp=cc8be74abab17a9734943f9b3f21b0d8848595f6;hpb=1e221deb9ee725a14b3656f94e2763f8faeb18dc;p=pdclib diff --git a/includes/iso646.h b/includes/iso646.h index cc8be74..48ca809 100644 --- a/includes/iso646.h +++ b/includes/iso646.h @@ -1,32 +1,27 @@ -// ---------------------------------------------------------------------------- -// $Id$ -// ---------------------------------------------------------------------------- -// Public Domain C Library - http://pdclib.sourceforge.net -// This code is Public Domain. Use, modify, and redistribute at will. -// ---------------------------------------------------------------------------- -// Provides "readable" aliases for bit operators. -// ---------------------------------------------------------------------------- +/* $Id$ */ -#ifndef __ISO646_H -#define __ISO646_H __ISO646_H +/* Release $Name$ */ -// ---------------------------------------------------------------------------- -// DEFINES +/* 7.9 Alternative spellings -#ifndef __cplusplus + This file is part of the Public Domain C Library (PDCLib). + Permission is granted to use, modify, and / or redistribute at will. +*/ + +#ifndef _PDCLIB_ISO646_H +#define _PDCLIB_ISO646_H _PDCLIB_ISO646_H #define and && #define and_eq &= #define bitand & #define bitor | -#define compl ~ +#define compl ˜ #define not ! #define not_eq != #define or || #define or_eq |= -#define xor ^ -#define xor_eq ^= +#define xor ˆ +#define xor_eq ˆ= -#endif // __cplusplus +#endif -#endif // __ISO646_H