Fix undefined MSVC macro warning
This commit is contained in:
@@ -53,7 +53,7 @@ class OpenMesh_Triangle : public OpenMeshBase {
|
||||
* ====================================================================
|
||||
*/
|
||||
|
||||
#if _MSC_VER >= 1900 || __cplusplus > 199711L || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
||||
#if (defined(_MSC_VER) && (_MSC_VER >= 1900)) || __cplusplus > 199711L || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
||||
|
||||
/*
|
||||
*/
|
||||
|
||||
@@ -97,7 +97,7 @@ TEST_F(OpenMeshPropertyManager, set_range_bool) {
|
||||
* C++11 Specific Tests
|
||||
* ====================================================================
|
||||
*/
|
||||
#if _MSC_VER >= 1900 || __cplusplus > 199711L || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
||||
#if (defined(_MSC_VER) && (_MSC_VER >= 1900)) || __cplusplus > 199711L || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
||||
|
||||
template<typename PropHandle, typename Mesh>
|
||||
bool has_property(const Mesh& _mesh, const std::string& _name) {
|
||||
|
||||
@@ -84,7 +84,7 @@ TEST_F(OpenMeshVectorTest, VectorCasting) {
|
||||
|
||||
}
|
||||
|
||||
#if _MSC_VER >= 1900 || __cplusplus > 199711L || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
||||
#if (defined(_MSC_VER) && (_MSC_VER >= 1900)) || __cplusplus > 199711L || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
||||
TEST_F(OpenMeshVectorTest, cpp11_constructors) {
|
||||
OpenMesh::Vec3d vec1 { 1.2, 2.0, 3.0 };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user