+ //RNV: to avoid link error on windows via Visual Studio
+ //undef GetObject macro.
+ if( strcmp(data->Name, "vtkWebGLExporter") == 0 ) {
+ fprintf(fp,"#ifdef WIN32\n");
+ fprintf(fp," #ifdef GetObject\n");
+ fprintf(fp," #undef GetObject\n");
+ fprintf(fp," #endif\n");
+ fprintf(fp,"#endif\n");
+ }
+