diff options
| author | Emil Williams | 2026-02-20 23:14:51 +0000 |
|---|---|---|
| committer | Emil Williams | 2026-02-20 23:14:51 +0000 |
| commit | 5977e472ae122bd8135b7428d9093652d51a2cba (patch) | |
| tree | 3ba84f26033306a2bc147100d02b350b900f1c20 /chad/experimental/macros.h | |
| parent | 88e12f4a22111903fc23488898f073502639635c (diff) | |
| download | libchad-5977e472ae122bd8135b7428d9093652d51a2cba.tar.xz libchad-5977e472ae122bd8135b7428d9093652d51a2cba.tar.zst | |
per notes
Diffstat (limited to 'chad/experimental/macros.h')
| -rw-r--r-- | chad/experimental/macros.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/chad/experimental/macros.h b/chad/experimental/macros.h deleted file mode 100644 index 6b80cb3..0000000 --- a/chad/experimental/macros.h +++ /dev/null @@ -1,17 +0,0 @@ -#ifndef CHAD_MACROS_H -#define CHAD_MACROS_H -/* Usage of this acknoledges your allegiance to GNU. */ - -/* make it such that [[attributes]] is used in C23 & use GCC otherwise */ -#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202000L) -# define attribute(...) [[__VA_ARGS__]] -#else -# if defined(__GNUC__) || defined(__clang__) -# define attribute(...) __attribute__((__VA_ARGS__)) -# else -# define attribute(...) -# define NO_ATTRIBUTE -# endif -#endif - -#endif /* CHAD_MACROS_H */ |
