From fb406f63a560227cbb0d0a8c40fe49d7623b4f20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Fri, 1 May 2015 00:03:29 -0700 Subject: [PATCH] Cleanup. --- include/bx/macros.h | 4 ++-- include/tinystl/string.h | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/bx/macros.h b/include/bx/macros.h index b50cfc5..5086b7e 100644 --- a/include/bx/macros.h +++ b/include/bx/macros.h @@ -62,7 +62,7 @@ # define BX_THREAD /* not supported right now */ # else # if (__GNUC__ == 4) && (__GNUC_MINOR__ <= 2) -# define BX_THREAD /* not supported right now */ +# define BX_THREAD /* not supported right now */ # else # define BX_THREAD __thread # endif // __GNUC__ <= 4.2 @@ -179,7 +179,7 @@ # define BX_TYPE_IS_POD(t) (!__is_class(t) || __is_pod(t)) #else # define BX_TYPE_IS_POD(t) false -#endif +#endif /// #define BX_CLASS_NO_DEFAULT_CTOR(_class) \ private: _class() diff --git a/include/tinystl/string.h b/include/tinystl/string.h index 5397c98..4d90c2a 100644 --- a/include/tinystl/string.h +++ b/include/tinystl/string.h @@ -27,6 +27,7 @@ #ifndef TINYSTL_STRING_H #define TINYSTL_STRING_H +#include // strlen #include "stddef.h" #include "hash.h"