From de5e02e6aa444cef028f733240220513dd69801b Mon Sep 17 00:00:00 2001 From: Pavol Marko Date: Sat, 13 May 2006 18:09:58 +0000 Subject: [PATCH] _snprintf defined to snprintf on linux (should it be the other way round) --HG-- extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40198 --- sourcehook/test/testmulti.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sourcehook/test/testmulti.cpp b/sourcehook/test/testmulti.cpp index cc00148..2e4ca9a 100644 --- a/sourcehook/test/testmulti.cpp +++ b/sourcehook/test/testmulti.cpp @@ -3,6 +3,11 @@ #include "sourcehook_test.h" #include "testevents.h" +// This should probably be done the other way round! +#ifdef __linux__ +#define _snprintf snprintf +#endif + namespace { SourceHook::ISourceHook *g_SHPtr;