From: lordhavoc Date: Mon, 29 Oct 2001 03:11:26 +0000 (+0000) Subject: fix for snprintf check (can't check if functions exist, changed to WIN32 check) X-Git-Tag: RELEASE_0_2_0_RC1~769 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=7d456a72061b8dd97d737583950eb6ce68c5c533;p=xonotic%2Fdarkplaces.git fix for snprintf check (can't check if functions exist, changed to WIN32 check) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@963 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/common.h b/common.h index c772fef8..98467fd3 100644 --- a/common.h +++ b/common.h @@ -32,7 +32,7 @@ typedef enum {false, true} qboolean; #include "quakeio.h" // LordHavoc: MSVC has a different name for snprintf -#ifndef snprintf +#ifdef WIN32 #define snprintf _snprintf #endif