Merge pull request #572 from Nekotekina/master

Update
This commit is contained in:
Alexandro Sánchez Bach 2014-07-15 01:06:53 +02:00
commit 75e81bc969
23 changed files with 439 additions and 334 deletions

View file

@ -6,6 +6,12 @@
#define thread_local __thread
#endif
#ifdef _WIN32
#define noinline __declspec(noinline)
#else
#define noinline __attribute__((noinline))
#endif
template<size_t size>
void strcpy_trunc(char (&dst)[size], const std::string& src)
{