not sure on the usefulness of this patch, though it is at least more correct.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2516 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2007-06-15 01:28:24 +00:00
parent d74c6f738a
commit 2c64085f12

View file

@ -553,6 +553,8 @@ int rand(void)
#endif #endif
#if defined(__MINGW32_VERSION) || defined(__MINGW__) || defined(__MINGW32__) || defined(__CYGWIN__)
#else
void strlcpy(char *d, const char *s, int n) void strlcpy(char *d, const char *s, int n)
{ {
int i; int i;
@ -568,3 +570,4 @@ void strlcpy(char *d, const char *s, int n)
} }
*d='\0'; *d='\0';
} }
#endif