diff --git a/src/osgViewer/GraphicsWindowWin32.cpp b/src/osgViewer/GraphicsWindowWin32.cpp index a060ec01b..5010a7ef9 100644 --- a/src/osgViewer/GraphicsWindowWin32.cpp +++ b/src/osgViewer/GraphicsWindowWin32.cpp @@ -2710,7 +2710,7 @@ static RegisterWindowingSystemInterfaceProxy createWindowingSystemInterfaceProxy // declare C entry point for static compilation. -extern "C" void graphicswindow_Win32(void) +extern "C" void OSGVIEWER_EXPORT graphicswindow_Win32(void) { osg::GraphicsContext::setWindowingSystemInterface(osgViewer::Win32WindowingSystem::getInterface()); }