Try to do less allocation during parse, favour upper case entity names in spf

This commit is contained in:
Thomas Krijnen
2022-06-06 09:59:32 +02:00
parent 0e8d7bdc97
commit 4c854fbb62
4 changed files with 44 additions and 20 deletions
-12
View File
@@ -55,18 +55,6 @@
#include "../ifcparse/IfcSpfStream.h"
#if defined(__clang__)
# define my_thread_local thread_local
#elif defined(__GNUC__)
# define my_thread_local __thread
#elif __STDC_VERSION__ >= 201112L
# define my_thread_local _Thread_local
#elif defined(_MSC_VER)
# define my_thread_local __declspec(thread)
#else
# error Cannot define thread_local
#endif
namespace IfcParse {
class IfcFile;