From 868ef2aa335fd1a70c8862a58f3dbdf247983d19 Mon Sep 17 00:00:00 2001 From: Mark Olsen Date: Thu, 27 Dec 2007 15:28:45 +0000 Subject: [PATCH] Only build this code when building for Windows, just to make grumlgrum happy. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2828 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- fteqtv/libqtvc/msvc_sucks.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fteqtv/libqtvc/msvc_sucks.c b/fteqtv/libqtvc/msvc_sucks.c index a73b5234a..0ec8535e3 100644 --- a/fteqtv/libqtvc/msvc_sucks.c +++ b/fteqtv/libqtvc/msvc_sucks.c @@ -17,6 +17,8 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#ifdef _WIN32 + #include #include #include @@ -71,3 +73,5 @@ int snprintf(char *buf, size_t buflen, const char *fmt, ...) return ret; } +#endif +