mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-26 05:41:52 +00:00
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:
parent
d74c6f738a
commit
2c64085f12
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue