Update macro names and include guards

This commit is contained in:
mintsuki 2024-09-13 07:32:09 +02:00
parent 759c108098
commit 0353851fde
9 changed files with 31 additions and 31 deletions

View File

@ -12,8 +12,8 @@
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/ */
#ifndef __FSTD_HDRS_FLOAT_H #ifndef __FREESTND_C_HDRS_FLOAT_H
#define __FSTD_HDRS_FLOAT_H 1 #define __FREESTND_C_HDRS_FLOAT_H 1
#undef FLT_ROUNDS #undef FLT_ROUNDS
#define FLT_ROUNDS 1 #define FLT_ROUNDS 1

View File

@ -12,8 +12,8 @@
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/ */
#ifndef __FSTD_HDRS_ISO646_H #ifndef __FREESTND_C_HDRS_ISO646_H
#define __FSTD_HDRS_ISO646_H 1 #define __FREESTND_C_HDRS_ISO646_H 1
#ifndef __cplusplus #ifndef __cplusplus

View File

@ -12,8 +12,8 @@
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/ */
#ifndef __FSTD_HDRS_LIMITS_H #ifndef __FREESTND_C_HDRS_LIMITS_H
#define __FSTD_HDRS_LIMITS_H 1 #define __FREESTND_C_HDRS_LIMITS_H 1
#undef CHAR_BIT #undef CHAR_BIT
#define CHAR_BIT __CHAR_BIT__ #define CHAR_BIT __CHAR_BIT__

View File

@ -12,8 +12,8 @@
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/ */
#ifndef __FSTD_HDRS_STDALIGN_H #ifndef __FREESTND_C_HDRS_STDALIGN_H
#define __FSTD_HDRS_STDALIGN_H 1 #define __FREESTND_C_HDRS_STDALIGN_H 1
#ifndef __cplusplus #ifndef __cplusplus

View File

@ -12,8 +12,8 @@
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/ */
#ifndef __FSTD_HDRS_STDARG_H #ifndef __FREESTND_C_HDRS_STDARG_H
#define __FSTD_HDRS_STDARG_H 1 #define __FREESTND_C_HDRS_STDARG_H 1
typedef __builtin_va_list va_list; typedef __builtin_va_list va_list;

View File

@ -12,8 +12,8 @@
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/ */
#ifndef __FSTD_HDRS_STDBOOL_H #ifndef __FREESTND_C_HDRS_STDBOOL_H
#define __FSTD_HDRS_STDBOOL_H 1 #define __FREESTND_C_HDRS_STDBOOL_H 1
#ifndef __cplusplus #ifndef __cplusplus

View File

@ -12,8 +12,8 @@
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/ */
#ifndef __FSTD_HDRS_STDDEF_H #ifndef __FREESTND_C_HDRS_STDDEF_H
#define __FSTD_HDRS_STDDEF_H 1 #define __FREESTND_C_HDRS_STDDEF_H 1
typedef __SIZE_TYPE__ size_t; typedef __SIZE_TYPE__ size_t;
typedef __PTRDIFF_TYPE__ ptrdiff_t; typedef __PTRDIFF_TYPE__ ptrdiff_t;

View File

@ -12,8 +12,8 @@
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/ */
#ifndef __FSTD_HDRS_STDINT_H #ifndef __FREESTND_C_HDRS_STDINT_H
#define __FSTD_HDRS_STDINT_H 1 #define __FREESTND_C_HDRS_STDINT_H 1
#ifdef __UINT8_TYPE__ #ifdef __UINT8_TYPE__
typedef __UINT8_TYPE__ uint8_t; typedef __UINT8_TYPE__ uint8_t;
@ -73,33 +73,33 @@ typedef __INTMAX_TYPE__ intmax_t;
/* Clang and GCC have different mechanisms for INT32_C and friends. */ /* Clang and GCC have different mechanisms for INT32_C and friends. */
#ifdef __clang__ #ifdef __clang__
# ifndef __FSTD_HDRS_C_JOIN # ifndef __FREESTND_C_HDRS_C_JOIN
# define __FSTD_HDRS_C_EXPAND_JOIN(x, suffix) x ## suffix # define __FREESTND_C_HDRS_C_EXPAND_JOIN(x, suffix) x ## suffix
# define __FSTD_HDRS_C_JOIN(x, suffix) __FSTD_HDRS_C_EXPAND_JOIN(x, suffix) # define __FREESTND_C_HDRS_C_JOIN(x, suffix) __FREESTND_C_HDRS_C_EXPAND_JOIN(x, suffix)
# endif # endif
# undef INT8_C # undef INT8_C
# define INT8_C(x) __FSTD_HDRS_C_JOIN(x, __INT8_C_SUFFIX__) # define INT8_C(x) __FREESTND_C_HDRS_C_JOIN(x, __INT8_C_SUFFIX__)
# undef INT16_C # undef INT16_C
# define INT16_C(x) __FSTD_HDRS_C_JOIN(x, __INT16_C_SUFFIX__) # define INT16_C(x) __FREESTND_C_HDRS_C_JOIN(x, __INT16_C_SUFFIX__)
# undef INT32_C # undef INT32_C
# define INT32_C(x) __FSTD_HDRS_C_JOIN(x, __INT32_C_SUFFIX__) # define INT32_C(x) __FREESTND_C_HDRS_C_JOIN(x, __INT32_C_SUFFIX__)
# undef INT64_C # undef INT64_C
# define INT64_C(x) __FSTD_HDRS_C_JOIN(x, __INT64_C_SUFFIX__) # define INT64_C(x) __FREESTND_C_HDRS_C_JOIN(x, __INT64_C_SUFFIX__)
# undef UINT8_C # undef UINT8_C
# define UINT8_C(x) __FSTD_HDRS_C_JOIN(x, __UINT8_C_SUFFIX__) # define UINT8_C(x) __FREESTND_C_HDRS_C_JOIN(x, __UINT8_C_SUFFIX__)
# undef UINT16_C # undef UINT16_C
# define UINT16_C(x) __FSTD_HDRS_C_JOIN(x, __UINT16_C_SUFFIX__) # define UINT16_C(x) __FREESTND_C_HDRS_C_JOIN(x, __UINT16_C_SUFFIX__)
# undef UINT32_C # undef UINT32_C
# define UINT32_C(x) __FSTD_HDRS_C_JOIN(x, __UINT32_C_SUFFIX__) # define UINT32_C(x) __FREESTND_C_HDRS_C_JOIN(x, __UINT32_C_SUFFIX__)
# undef UINT64_C # undef UINT64_C
# define UINT64_C(x) __FSTD_HDRS_C_JOIN(x, __UINT64_C_SUFFIX__) # define UINT64_C(x) __FREESTND_C_HDRS_C_JOIN(x, __UINT64_C_SUFFIX__)
# undef INTMAX_C # undef INTMAX_C
# define INTMAX_C(x) __FSTD_HDRS_C_JOIN(x, __INTMAX_C_SUFFIX__) # define INTMAX_C(x) __FREESTND_C_HDRS_C_JOIN(x, __INTMAX_C_SUFFIX__)
# undef UINTMAX_C # undef UINTMAX_C
# define UINTMAX_C(x) __FSTD_HDRS_C_JOIN(x, __UINTMAX_C_SUFFIX__) # define UINTMAX_C(x) __FREESTND_C_HDRS_C_JOIN(x, __UINTMAX_C_SUFFIX__)
#else #else
# undef INT8_C # undef INT8_C
# define INT8_C(x) __INT8_C(x) # define INT8_C(x) __INT8_C(x)

View File

@ -12,8 +12,8 @@
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/ */
#ifndef __FSTD_HDRS_STDNORETURN_H #ifndef __FREESTND_C_HDRS_STDNORETURN_H
#define __FSTD_HDRS_STDNORETURN_H 1 #define __FREESTND_C_HDRS_STDNORETURN_H 1
#ifndef __cplusplus #ifndef __cplusplus