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