From 2c64085f12a717918978af5393bef544e64ccdb9 Mon Sep 17 00:00:00 2001 From: Spoike Date: Fri, 15 Jun 2007 01:28:24 +0000 Subject: [PATCH] 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 --- plugins/qvm_api.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/qvm_api.c b/plugins/qvm_api.c index 32790f917..62a3f8f86 100644 --- a/plugins/qvm_api.c +++ b/plugins/qvm_api.c @@ -553,6 +553,8 @@ int rand(void) #endif +#if defined(__MINGW32_VERSION) || defined(__MINGW__) || defined(__MINGW32__) || defined(__CYGWIN__) +#else void strlcpy(char *d, const char *s, int n) { int i; @@ -568,3 +570,4 @@ void strlcpy(char *d, const char *s, int n) } *d='\0'; } +#endif