change BSD ifndefs to __OpenBSD__ and remove unnecessary ifdefs
I'm not sure if any operating system other than OpenBSD has strlcpy/strlcat. May need to use a configure script for this later on.
This commit is contained in:
parent
03b3631fa9
commit
cae9985747
5 changed files with 8 additions and 10 deletions
2
util.c
2
util.c
|
@ -37,7 +37,7 @@ lfailm(lua_State *L, const char *mesg)
|
|||
* lib/libc/string/strlcat.c and
|
||||
* lib/libc/string/strlcpy.c respectively
|
||||
*/
|
||||
#ifndef BSD
|
||||
#ifndef __OpenBSD__
|
||||
|
||||
/*
|
||||
* Appends src to string dst of size dsize (unlike strncat, dsize is the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue