Linux has no strlcat

This commit is contained in:
roberto@ubuntu64
2010-08-23 18:51:02 +02:00
parent ea54a05fc3
commit 82cbcea886
+1
View File
@@ -28,6 +28,7 @@
// linux has not strlcpy
#ifdef __linux
#define strlcpy(x, y, z) strcpy(x, y)
#define strlcat(x, y, z) strcat(x, y)
#include <sys/prctl.h>
#endif