#pragma once // Wraps the LUA includes for platform specific build workarounds extern "C" { #include #include #include } #ifdef __APPLE__ // Something in the Apple headers seems to #define nil as __NULL // this then causes a build error in luabind: // luabind/nil.hpp:36:40: error: expected unqualified-id // extern LUABIND_API detail::nil_type nil; #undef nil #endif #include #include