Put windows directive before includes

release/4.3a0
Frank Dellaert 2023-02-04 21:33:27 -08:00
parent ba80f6dc2b
commit 7e2fe4704f
1 changed files with 6 additions and 5 deletions

View File

@ -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.