Created
August 31, 2020 04:05
-
-
Save ctarbide/1c29112c9135b740e95a016c8e854c15 to your computer and use it in GitHub Desktop.
c99-snprintf config.h for pull request validation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* copied from snprintf.c, except for HAVE_VA_COPY and HAVE___VA_COPY | |
since va_copy is not available in c89 | |
gcc -I. -DHAVE_CONFIG_H -DTEST_SNPRINTF -Wall -Werror -std=c89 -c -o snprintf.o snprintf.c | |
gcc -I. -DHAVE_CONFIG_H -Wall -Werror -std=c89 -c -o snprintf.o snprintf.c | |
*/ | |
#ifndef HAVE_STDARG_H | |
#define HAVE_STDARG_H 1 | |
#endif /* HAVE_STDARG_H */ | |
#ifndef HAVE_STDDEF_H | |
#define HAVE_STDDEF_H 1 | |
#endif /* HAVE_STDDEF_H */ | |
#ifndef HAVE_STDINT_H | |
#define HAVE_STDINT_H 1 | |
#endif /* HAVE_STDINT_H */ | |
#ifndef HAVE_STDLIB_H | |
#define HAVE_STDLIB_H 1 | |
#endif /* HAVE_STDLIB_H */ | |
#ifndef HAVE_FLOAT_H | |
#define HAVE_FLOAT_H 1 | |
#endif /* HAVE_FLOAT_H */ | |
#ifndef HAVE_INTTYPES_H | |
#define HAVE_INTTYPES_H 1 | |
#endif /* HAVE_INTTYPES_H */ | |
#ifndef HAVE_LOCALE_H | |
#define HAVE_LOCALE_H 1 | |
#endif /* HAVE_LOCALE_H */ | |
#ifndef HAVE_LOCALECONV | |
#define HAVE_LOCALECONV 1 | |
#endif /* !defined(HAVE_LOCALECONV) */ | |
#ifndef HAVE_LCONV_DECIMAL_POINT | |
#define HAVE_LCONV_DECIMAL_POINT 1 | |
#endif /* HAVE_LCONV_DECIMAL_POINT */ | |
#ifndef HAVE_LCONV_THOUSANDS_SEP | |
#define HAVE_LCONV_THOUSANDS_SEP 1 | |
#endif /* HAVE_LCONV_THOUSANDS_SEP */ | |
#ifndef HAVE_LONG_DOUBLE | |
#define HAVE_LONG_DOUBLE 1 | |
#endif /* !defined(HAVE_LONG_DOUBLE) */ | |
#ifndef HAVE_LONG_LONG_INT | |
#define HAVE_LONG_LONG_INT 1 | |
#endif /* !defined(HAVE_LONG_LONG_INT) */ | |
#ifndef HAVE_UNSIGNED_LONG_LONG_INT | |
#define HAVE_UNSIGNED_LONG_LONG_INT 1 | |
#endif /* !defined(HAVE_UNSIGNED_LONG_LONG_INT) */ | |
#ifndef HAVE_INTMAX_T | |
#define HAVE_INTMAX_T 1 | |
#endif /* !defined(HAVE_INTMAX_T) */ | |
#ifndef HAVE_UINTMAX_T | |
#define HAVE_UINTMAX_T 1 | |
#endif /* !defined(HAVE_UINTMAX_T) */ | |
#ifndef HAVE_UINTPTR_T | |
#define HAVE_UINTPTR_T 1 | |
#endif /* !defined(HAVE_UINTPTR_T) */ | |
#ifndef HAVE_PTRDIFF_T | |
#define HAVE_PTRDIFF_T 1 | |
#endif /* !defined(HAVE_PTRDIFF_T) */ | |
#ifndef HAVE_VA_COPY | |
/*#define HAVE_VA_COPY 1*/ | |
#endif /* !defined(HAVE_VA_COPY) */ | |
#ifndef HAVE___VA_COPY | |
/*#define HAVE___VA_COPY 1*/ | |
#endif /* !defined(HAVE___VA_COPY) */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment