diff --git a/src/mesh_loader/assimp.cpp b/src/mesh_loader/assimp.cpp index 2645a4be2e07729b069eabe4bf8d00647a09e352..a160555a0a42cecb3853e2ea8264eb71397b4f60 100644 --- a/src/mesh_loader/assimp.cpp +++ b/src/mesh_loader/assimp.cpp @@ -32,6 +32,9 @@ * POSSIBILITY OF SUCH DAMAGE. */ +#if __cplusplus < 201103L + #define nullptr NULL +#endif #include <hpp/fcl/mesh_loader/assimp.h> // Assimp >= 5.0 is forcing the use of C++11 keywords. A fix has been submitted https://github.com/assimp/assimp/pull/2758.