From a0cdf7461c82ed3ecdf4fc9564c90652557d6ecf Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 27 Jul 2006 11:22:01 +0000 Subject: [PATCH] Added #define snprintf _snprintf for Win32 build --- src/osgPlugins/pfb/ConvertFromPerformer.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/osgPlugins/pfb/ConvertFromPerformer.cpp b/src/osgPlugins/pfb/ConvertFromPerformer.cpp index fbd20f88a..9c7ebb131 100644 --- a/src/osgPlugins/pfb/ConvertFromPerformer.cpp +++ b/src/osgPlugins/pfb/ConvertFromPerformer.cpp @@ -38,6 +38,10 @@ #include #include +#ifdef WIN32 +#define snprintf _snprintf +#endif + // Need to undefine these because Performer defines them and it causes a // compiler error in ConvertFromPerformer::visitBillboard. #ifdef AXIAL_ROT