Browse Source

Fixed clang's problem with register keyword

bzt 5 years ago
parent
commit
3bf81375da
1 changed files with 1 additions and 0 deletions
  1. 1 0
      code/M3D/m3d.h

+ 1 - 0
code/M3D/m3d.h

@@ -85,6 +85,7 @@ typedef uint16_t M3D_INDEX;
 #endif
 #ifndef  __cplusplus
 #define _register register
+#else
 #define _register
 #endif