Fix build on OpenBSD

This commit is contained in:
Brian Callahan 2015-04-28 21:24:29 -04:00
parent 07f2f25f56
commit 3b9240d261
2 changed files with 2 additions and 2 deletions

View File

@ -130,7 +130,7 @@ lua_engine::hook::hook()
cb = -1;
}
#if (defined(__sun__) && defined(__svr4__)) || defined(__ANDROID__)
#if (defined(__sun__) && defined(__svr4__)) || defined(__ANDROID__) || defined(__OpenBSD__)
#undef _L
#endif

View File

@ -199,7 +199,7 @@ private:
// pnamedlist_t: a simple list
// ----------------------------------------------------------------------------------------
#if (defined(__sun__) && defined(__svr4__)) || defined(__ANDROID__)
#if (defined(__sun__) && defined(__svr4__)) || defined(__ANDROID__) || defined(__OpenBSD__)
#undef _C
#endif