added #ifdef to avoid complaints about 'register' by C++17 compilers
This commit is contained in:
parent
9fd42584f5
commit
0d9d9e5b07
@ -26,7 +26,10 @@
|
|||||||
#ifndef _LA_TRAITS_INCL
|
#ifndef _LA_TRAITS_INCL
|
||||||
#define _LA_TRAITS_INCL
|
#define _LA_TRAITS_INCL
|
||||||
|
|
||||||
|
//avoid unsupported register directive in new C++ versions
|
||||||
|
#if __cplusplus > 201402L
|
||||||
|
#define register
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user