Skip to content

Commit

Permalink
Fix Windows compilation due to wrong variable name (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
alxbilger authored Jun 4, 2024
1 parent 431a2fe commit 58828b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ class TetrahedronViscoelasticityFEMForceField : public core::behavior::ForceFiel

};

#if !defined(SOFA_COMPONENT_FORCEFIELD_TetrahedronViscoelasticityFEMForceField_CPP)
#if !defined(SOFA_COMPONENT_FORCEFIELD_TETRAHEDRONVISCOELASTICITYFEMFORCEFIELD_CPP)
extern template class SOFAVISCOELASTIC_API TetrahedronViscoelasticityFEMForceField<defaulttype::Vec3Types>;
#endif // !defined(SOFA_COMPONENT_FORCEFIELD_TetrahedronViscoelasticityFEMForceField_CPP)

Expand Down
2 changes: 1 addition & 1 deletion src/SofaViscoElastic/config.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
#include <sofa/config.h>
#include <sofa/config/sharedlibrary_defines.h>

#ifdef SOFA_BUILD_SOFA_COMPONENT_SOLIDMECHANICS_FEM_VISCOELASTIC
#ifdef SOFA_BUILD_SOFAVISCOELASTIC
# define SOFA_TARGET @PROJECT_NAME@
# define SOFAVISCOELASTIC_API SOFA_EXPORT_DYNAMIC_LIBRARY
#else
Expand Down

0 comments on commit 58828b6

Please sign in to comment.