Commit 82a90aac authored by Mark Friedrichs's avatar Mark Friedrichs
Browse files

Added missing export for Windows

parent 64b67556
...@@ -36,7 +36,7 @@ using namespace OpenMM; ...@@ -36,7 +36,7 @@ using namespace OpenMM;
extern "C" void registerPlatforms() { extern "C" void registerPlatforms() {
} }
extern "C" void registerKernelFactories() { extern "C" OPENMMCUDA_EXPORT void registerKernelFactories() {
//fprintf( stderr,"In registerKernelFactories AmoebaCudaKernelFactory\n" ); fflush( stderr ); //fprintf( stderr,"In registerKernelFactories AmoebaCudaKernelFactory\n" ); fflush( stderr );
for( int ii = 0; ii < Platform::getNumPlatforms(); ii++ ){ for( int ii = 0; ii < Platform::getNumPlatforms(); ii++ ){
Platform& platform = Platform::getPlatform(ii); Platform& platform = Platform::getPlatform(ii);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment