aboutsummaryrefslogtreecommitdiff
path: root/src/compat.h
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-01-27 23:32:01 +0100
committerThomas Voss <mail@thomasvoss.com> 2024-01-27 23:32:01 +0100
commit64d8302da4f21fd974d074f0be4d039dda78c8a8 (patch)
tree7ee2bb5dd578d702f3a6fbb32c1ec1c74c098d95 /src/compat.h
parentb8965345d9898ffee6f34b9e8b09925775b5a6dc (diff)
Require C23
Diffstat (limited to 'src/compat.h')
-rw-r--r--src/compat.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/src/compat.h b/src/compat.h
deleted file mode 100644
index 87ab9fb..0000000
--- a/src/compat.h
+++ /dev/null
@@ -1,29 +0,0 @@
-/* This compatibility header was generated by the libcompat gen script.
- You can find it over at https://git.sr.ht/~mango/libcompat. */
-
-#ifndef LIBCOMPAT_COMPAT_H
-#define LIBCOMPAT_COMPAT_H
-
-#if __STDC_VERSION__ >= 202311L
-# define LIBCOMPAT_IS_23 1
-#endif
-
-#if !LIBCOMPAT_IS_23
-# include <stdbool.h> /* IWYU pragma: export */
-#endif
-
-#if !LIBCOMPAT_IS_23
-# ifndef NULL
-# include <stddef.h> /* IWYU pragma: export */
-# endif
-# define nullptr NULL
-#endif
-
-#if !LIBCOMPAT_IS_23
-# ifdef static_assert
-# undef static_assert
-# endif
-# define static_assert(e, ...) _Static_assert(e, ""__VA_ARGS__)
-#endif
-
-#endif /* !LIBCOMPAT_COMPAT_H */