mirror of
https://github.com/yhirose/cpp-peglib.git
synced 2024-11-14 06:55:30 +00:00
Fixed #29
This commit is contained in:
parent
e72b630455
commit
31dd2dae29
4
peglib.h
4
peglib.h
@ -41,7 +41,11 @@
|
||||
|
||||
namespace peg {
|
||||
|
||||
#if __clang__ == 1 && __clang_major__ == 5 && __clang_minor__ == 0 && __clang_patchlevel__ == 0
|
||||
static void* enabler = nullptr; // workaround for Clang 5.0.0
|
||||
#else
|
||||
extern void* enabler;
|
||||
#endif
|
||||
|
||||
/*-----------------------------------------------------------------------------
|
||||
* any
|
||||
|
Loading…
Reference in New Issue
Block a user