forhappy / zklua

Lua binding of apache zookeeper.
Apache License 2.0
99 stars 47 forks source link

I encountered with an error"error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘typedef’" when I installed zklua on ubuntu. #18

Open VanWorld opened 8 years ago

VanWorld commented 8 years ago
I sloved the error at last.
In file zklua.c, line 28, there is a character "_",  I delete it,and installed it successful.
I want to know the "_" is useful in others platform, maybe you should delete "_" in zklua.c.