Put windows directive before includes
parent
ba80f6dc2b
commit
7e2fe4704f
|
@ -17,6 +17,12 @@
|
|||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
// The MSVC compiler insists on knowing extended alignment is ok.
|
||||
#ifdef _MSC_VER
|
||||
#define _ENABLE_EXTENDED_ALIGNED_STORAGE
|
||||
#endif
|
||||
|
||||
#include <gtsam/config.h> // Configuration from CMake
|
||||
#include <gtsam/nonlinear/internal/JacobianMap.h>
|
||||
#include <gtsam/inference/Key.h>
|
||||
|
@ -33,11 +39,6 @@ namespace internal {
|
|||
|
||||
template<int T> struct CallRecord;
|
||||
|
||||
// The MSVC compiler insists on knowing extended alignment is ok.
|
||||
#ifdef _MSC_VER
|
||||
#define _ENABLE_EXTENDED_ALIGNED_STORAGE
|
||||
#endif
|
||||
|
||||
/// Storage type for the execution trace.
|
||||
/// It enforces the proper alignment in a portable way.
|
||||
/// Provide a traceSize() sized array of this type to traceExecution as traceStorage.
|
||||
|
|
Loading…
Reference in New Issue