diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-17 17:55:43 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-17 17:55:43 +0300 |
commit | 07c3814e5e9c15dc0d5bdba9ba9a591e56116d7c (patch) | |
tree | 2dcff26849f6133d9a1e08e2601a2b2ec8cc9d2d /src/localconsts.h | |
parent | fa1bd85d4461a0a35f8843ac0965e2de5fd6b27e (diff) | |
download | manaverse-07c3814e5e9c15dc0d5bdba9ba9a591e56116d7c.tar.gz manaverse-07c3814e5e9c15dc0d5bdba9ba9a591e56116d7c.tar.bz2 manaverse-07c3814e5e9c15dc0d5bdba9ba9a591e56116d7c.tar.xz manaverse-07c3814e5e9c15dc0d5bdba9ba9a591e56116d7c.zip |
add restrict keyword into dye class.
Diffstat (limited to 'src/localconsts.h')
-rw-r--r-- | src/localconsts.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/localconsts.h b/src/localconsts.h index 4187cefd2..f29068c4c 100644 --- a/src/localconsts.h +++ b/src/localconsts.h @@ -64,11 +64,13 @@ #define A_UNUSED __attribute__ ((unused)) #define A_WARN_UNUSED __attribute__ ((warn_unused_result)) #define DEPRECATED __attribute__ ((deprecated)) +#define restrict __restrict__ #else #define A_UNUSED #define A_WARN_UNUSED #define gnu_printf printf #define DEPRECATED +#define restrict #endif #ifdef __clang__ #define gnu_printf printf |