Skip to content

Commit bbeb515

Browse files
authored
pragma warning bug fix when using g++ on windows (assimp#5943)
1 parent 437b484 commit bbeb515

File tree

1 file changed

+1
-2
lines changed
  • contrib/poly2tri/poly2tri/common

1 file changed

+1
-2
lines changed

contrib/poly2tri/poly2tri/common/shapes.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@
3838
#include <stdexcept>
3939
#include <vector>
4040

41-
42-
#if defined(_WIN32)
41+
#if defined(_WIN32) && defined(_MSC_VER) && !defined(__INTEL_COMPILER)
4342
# pragma warning( disable: 4251)
4443
#endif
4544
namespace p2t {

0 commit comments

Comments
 (0)