mirror of
https://github.com/git/git
synced 2024-08-24 18:26:02 +00:00
Merge branch 'jk/weather-balloon-require-variadic-macro'
We've carried compatibility codepaths for compilers without variadic macros for quite some time, but the world may be ready for them to be removed. Force compilation failure on exotic platforms where variadic macros are not available to find out who screams in such a way that we can easily revert if it turns out that the world is not yet ready. * jk/weather-balloon-require-variadic-macro: git-compat-util: always enable variadic macros
This commit is contained in:
commit
dfc3c2b224
|
@ -1176,9 +1176,12 @@ static inline int regexec_buf(const regex_t *preg, const char *buf, size_t size,
|
|||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(__GNUC__) || (_MSC_VER >= 1400) || defined(__C99_MACRO_WITH_VA_ARGS)
|
||||
/*
|
||||
* This is always defined as a first step towards making the use of variadic
|
||||
* macros unconditional. If it causes compilation problems on your platform,
|
||||
* please report it to the Git mailing list at git@vger.kernel.org.
|
||||
*/
|
||||
#define HAVE_VARIADIC_MACROS 1
|
||||
#endif
|
||||
|
||||
/* usage.c: only to be used for testing BUG() implementation (see test-tool) */
|
||||
extern int BUG_exit_code;
|
||||
|
|
Loading…
Reference in a new issue