Files
quakemapping/tools/vispatch-1.4.6/source/strl_fn.h
2019-12-30 17:23:05 +01:00

29 lines
526 B
C

/*
strl_fn.h
header file for BSD strlcat and strlcpy
$Id: strl_fn.h,v 1.2 2008/01/18 09:57:01 sezero Exp $
*/
#ifndef __STRLFUNCS_H
#define __STRLFUNCS_H
/* do we have strlcpy and strlcat as native library functions? */
#undef HAVE_STRLCPY
#undef HAVE_STRLCAT
#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__MACOSX__) || defined(__DragonFly__)
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#else
#define HAVE_STRLCPY 0
#define HAVE_STRLCAT 0
#endif
#endif /* __STRLFUNCS_H */