diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-08-28 16:27:01 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-08-28 17:01:18 +0200 |
commit | c34317dc2cbb1d636fd00bd201033acb1ae22016 (patch) | |
tree | 54a1a823562fa7453d8378bde19b45dd657e96e8 /src/compiler.h | |
parent | server: more logging (diff) | |
download | cimple-c34317dc2cbb1d636fd00bd201033acb1ae22016.tar.gz cimple-c34317dc2cbb1d636fd00bd201033acb1ae22016.zip |
make compilers happier
Diffstat (limited to 'src/compiler.h')
-rw-r--r-- | src/compiler.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/compiler.h b/src/compiler.h new file mode 100644 index 0000000..de721d9 --- /dev/null +++ b/src/compiler.h @@ -0,0 +1,10 @@ +#ifndef __COMPILER_H__ +#define __COMPILER_H__ + +#ifdef __GNUC__ +#define UNUSED __attribute__((unused)) +#else +#define UNUSED +#endif + +#endif |