From d29196a493b0d63ea543af2cab1db062ae39fce2 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Tue, 26 Apr 2022 10:59:50 -0400 Subject: use C2x style header versioning for include guards --- stdint.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'stdint.h') diff --git a/stdint.h b/stdint.h index b116f05..6313efe 100644 --- a/stdint.h +++ b/stdint.h @@ -1,5 +1,9 @@ -#ifndef __STDINT_H__ -#define __STDINT_H__ +#ifndef __STDC_VERSION_STDINT_H__ +#if defined __STDC_VERSION__ +#define __STDC_VERSION_STDINT_H__ __STDC_VERSION__ +#else +#define __STDC_VERSION_STDINT_H__ 1 +#endif /* UNG's Not GNU -- cgit v1.2.1