From 3c1a89604be9d9f7319ccc6eeb22e53b744d75d1 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 24 Jun 2013 09:31:34 +0000 Subject: [PATCH] From Christian Noon, "Got a simple patch for correcting a problem with the USE_COMPRESSOR_WRAPPER() macro in the osgDB::Registry. The problem is that the wrapper declaration doesn't match the one defined in the REGISTER_COMPRESSOR() method in the osgDB::ObjectWrapper method. This patch fixes the wrapper declaration so they both match properly. I ran into this problem using compressed files in an iOS application where all the libraries and plugins need to be built statically." --- include/osgDB/Registry | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/osgDB/Registry b/include/osgDB/Registry index 6023b3205..cc9aa6286 100644 --- a/include/osgDB/Registry +++ b/include/osgDB/Registry @@ -704,7 +704,7 @@ struct PluginFunctionProxy static osgDB::PluginFunctionProxy proxy_serializer_library_##libname(wrapper_serializer_library_##libname); #define USE_COMPRESSOR_WRAPPER(classname) \ - extern "C" void wrapper_serializer_##classname(void); \ + extern "C" void wrapper_compressor_##classname(void); \ static osgDB::PluginFunctionProxy proxy_compressor_##classname(wrapper_compressor_##classname); #define REGISTER_OSGPLUGIN(ext, classname) \