blob: 4ecbcc7e72b3b869e7831cce9bce9b46df51cd62 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- src/slic3r/GUI/GLCanvas3D.cpp.orig 2023-12-12 14:21:21 UTC
+++ src/slic3r/GUI/GLCanvas3D.cpp
@@ -108,7 +108,7 @@ float RetinaHelper::get_scale_factor() { return float(
#endif // __WXGTK3__
// Fixed the collision between BuildVolume::Type::Convex and macro Convex defined inside /usr/include/X11/X.h that is included by WxWidgets 3.0.
-#if defined(__linux__) && defined(Convex)
+#if (defined(__linux__) || defined(__FreeBSD__)) && defined(Convex)
#undef Convex
#endif
|