mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 16:40:38 +08:00
Fixed warning : 'va_copy' : macro redefinition
MSVC 2013 has got va_copy Compare http://msdn.microsoft.com/en-us/library/kb57fad8(v=vs.110).aspx and http://msdn.microsoft.com/en-us/library/kb57fad8.aspx. Change-Id: If0937c76e8d250cde4b343844f3d35c980bf0921
This commit is contained in:
committed by
Sameer Agarwal
parent
1df2f0f5d7
commit
3209b04574
@@ -43,7 +43,9 @@ namespace internal {
|
||||
|
||||
#ifdef _MSC_VER
|
||||
enum { IS_COMPILER_MSVC = 1 };
|
||||
#if _MSC_VER < 1800
|
||||
#define va_copy(d, s) ((d) = (s))
|
||||
#endif
|
||||
#else
|
||||
enum { IS_COMPILER_MSVC = 0 };
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user