2024-01-02 21:14:05 +03:00
|
|
|
/* Copyright (C) 2022-2024 mintsuki and contributors.
|
2023-12-05 14:25:52 +03:00
|
|
|
*
|
|
|
|
* Permission to use, copy, modify, and/or distribute this software for any
|
|
|
|
* purpose with or without fee is hereby granted.
|
|
|
|
*
|
|
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
|
|
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
|
|
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
|
|
|
|
* SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
|
|
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
|
|
|
|
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
|
|
|
|
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
|
|
*/
|
|
|
|
|
2023-04-16 08:24:29 +03:00
|
|
|
#ifndef __FSTD_HDRS_ISO646_H
|
|
|
|
#define __FSTD_HDRS_ISO646_H 1
|
2022-02-17 10:16:54 +03:00
|
|
|
|
2023-04-26 00:19:25 +03:00
|
|
|
#ifndef __cplusplus
|
|
|
|
|
|
|
|
#undef and
|
2022-02-17 10:16:54 +03:00
|
|
|
#define and &&
|
2023-04-26 00:19:25 +03:00
|
|
|
#undef and_eq
|
2022-02-17 10:16:54 +03:00
|
|
|
#define and_eq &=
|
2023-04-26 00:19:25 +03:00
|
|
|
#undef bitand
|
2022-02-17 10:16:54 +03:00
|
|
|
#define bitand &
|
2023-04-26 00:19:25 +03:00
|
|
|
#undef bitor
|
2022-02-17 10:16:54 +03:00
|
|
|
#define bitor |
|
2023-04-26 00:19:25 +03:00
|
|
|
#undef compl
|
2022-02-17 10:16:54 +03:00
|
|
|
#define compl ~
|
2023-04-26 00:19:25 +03:00
|
|
|
#undef not
|
2022-02-17 10:16:54 +03:00
|
|
|
#define not !
|
2023-04-26 00:19:25 +03:00
|
|
|
#undef not_eq
|
2022-02-17 10:16:54 +03:00
|
|
|
#define not_eq !=
|
2023-04-26 00:19:25 +03:00
|
|
|
#undef or
|
2022-02-17 10:16:54 +03:00
|
|
|
#define or ||
|
2023-04-26 00:19:25 +03:00
|
|
|
#undef or_eq
|
2022-02-17 10:16:54 +03:00
|
|
|
#define or_eq |=
|
2023-04-26 00:19:25 +03:00
|
|
|
#undef xor
|
2022-02-17 10:16:54 +03:00
|
|
|
#define xor ^
|
2023-04-26 00:19:25 +03:00
|
|
|
#undef xor_eq
|
2022-02-17 10:16:54 +03:00
|
|
|
#define xor_eq ^=
|
|
|
|
|
|
|
|
#endif
|
2023-04-26 00:19:25 +03:00
|
|
|
|
|
|
|
#endif
|