Advertisement
Guest User

Untitled

a guest
Feb 7th, 2016
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. From 7e9c381043c9c33d594b66fad853bf69df044769 Mon Sep 17 00:00:00 2001
  2. From: Paul Mathieu <pmathieu@willowgarage.com>
  3. Date: Tue, 12 Mar 2013 13:28:23 -0700
  4. Subject: [PATCH] fixed arm build
  5.  
  6. ---
  7. src/collada_urdf.cpp | 7 +++++++
  8. 1 file changed, 7 insertions(+)
  9.  
  10. diff --git a/src/collada_urdf.cpp b/src/collada_urdf.cpp
  11. index acebfb2..1d4beb6 100644
  12. --- a/src/collada_urdf.cpp
  13. +++ b/src/collada_urdf.cpp
  14. @@ -68,6 +68,13 @@
  15. #include <assimp/IOSystem.hpp>
  16. #include <assimp/Importer.hpp>
  17. #include <assimp/postprocess.h>
  18. +# ifdef __arm__ // fix for ARM build
  19. +#include <strings.h>
  20. +bool Assimp::IOSystem::ComparePaths(const char *p1, const char *p2) const
  21. +{
  22. + return !::strcasecmp(p1, p2);
  23. +}
  24. +# endif
  25. #else
  26. #include <assimp.hpp>
  27. #include <aiScene.h>
  28. --
  29. 1.7.9.5
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement