forked from OSchip/llvm-project
Added standard macro guard. In case __GNUC_VA_LIST was not
defined or defined identically before there will not be any change in functionality. MinGW-w64 defines __GNUC_VA_LIST as #define __GNUC_VA_LIST which is different than the definition here, causing a warning without the guard. llvm-svn: 212183
This commit is contained in:
parent
adbbfd1fe9
commit
672efea2e9
|
@ -44,7 +44,9 @@ typedef __builtin_va_list va_list;
|
|||
#endif
|
||||
|
||||
/* Hack required to make standard headers work, at least on Ubuntu */
|
||||
#ifndef __GNUC_VA_LIST
|
||||
#define __GNUC_VA_LIST 1
|
||||
#endif
|
||||
typedef __builtin_va_list __gnuc_va_list;
|
||||
|
||||
#endif /* __STDARG_H */
|
||||
|
|
Loading…
Reference in New Issue