added #ifdef to avoid complaints about 'register' by C++17 compilers

This commit is contained in:
Jiri Pittner 2021-05-06 11:37:45 +02:00
parent 9fd42584f5
commit 0d9d9e5b07

View File

@ -26,7 +26,10 @@
#ifndef _LA_TRAITS_INCL
#define _LA_TRAITS_INCL
//avoid unsupported register directive in new C++ versions
#if __cplusplus > 201402L
#define register
#endif
#include <stdio.h>