_snprintf defined to snprintf on linux (should it be the other way round)
authorPavol Marko <pavolmarko@gmail.com>
Sat May 13 18:09:58 2006 +0000 (2006-05-13)
changeset 197eb4c16742b7d
parent 196 25d98645f668
child 198 f6397777ba0e
_snprintf defined to snprintf on linux (should it be the other way round)
sourcehook/test/testmulti.cpp
     1.1 --- a/sourcehook/test/testmulti.cpp	Sat May 13 17:57:35 2006 +0000
     1.2 +++ b/sourcehook/test/testmulti.cpp	Sat May 13 18:09:58 2006 +0000
     1.3 @@ -3,6 +3,11 @@
     1.4  #include "sourcehook_test.h"
     1.5  #include "testevents.h"
     1.6  
     1.7 +// This should probably be done the other way round!
     1.8 +#ifdef __linux__
     1.9 +#define _snprintf snprintf
    1.10 +#endif
    1.11 +
    1.12  namespace
    1.13  {
    1.14  	SourceHook::ISourceHook *g_SHPtr;