Browse Source

Update portable endian

Alexey Edelev 9 years ago
parent
commit
e8c3d87229
2 changed files with 4 additions and 1 deletions
  1. 1 0
      .gitignore
  2. 3 1
      portable_endian.h

+ 1 - 0
.gitignore

@@ -6,3 +6,4 @@ moc_*
 *.pro.user*
 .moc
 .obj
+Makefile

+ 3 - 1
portable_endian.h

@@ -119,10 +119,12 @@
 #	define htobe64 ENDIAN_BE64
 #	define htole64 ENDIAN_LE64
 
+#elif defined (__vxworks)
+#   include <arch/arm/vxbAccessArchLib.h>
 #else
 
 #	error platform not supported
 
 #endif
 
-#endif
+#endif //#ifndef PORTABLE_ENDIAN_H__