mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
8150079: MSVC prior to VS 2013 doesn't know the 'va_copy' macro
Reviewed-by: dholmes
This commit is contained in:
parent
1153ecb06f
commit
a5c5a3b609
2 changed files with 2 additions and 6 deletions
|
@ -930,13 +930,7 @@ class JNI_ArgumentPusherVaArg : public JNI_ArgumentPusher {
|
|||
_arguments->push_oop(Handle((oop *)l, false)); }
|
||||
|
||||
inline void set_ap(va_list rap) {
|
||||
#ifdef va_copy
|
||||
va_copy(_ap, rap);
|
||||
#elif defined (__va_copy)
|
||||
__va_copy(_ap, rap);
|
||||
#else
|
||||
_ap = rap;
|
||||
#endif
|
||||
}
|
||||
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue