From Alexey Pavlov, "Export fix for Windows platform"
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14672 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
parent
e330e9309c
commit
51b19d2d8b
@ -25,7 +25,7 @@ using namespace std;
|
||||
|
||||
#if defined(WIN32) && !defined(__CYGWIN__)
|
||||
#include<Windows.h>
|
||||
extern "C" { _declspec(dllexport) DWORD NvOptimusEnablement=0x00000001; }
|
||||
extern "C" { OSG_EXPORT DWORD NvOptimusEnablement=0x00000001; }
|
||||
#else
|
||||
extern "C" { int NvOptimusEnablement=0x00000001; }
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user