Salome HOME
#26945 [CEA][Windows] Kernel compilation failure
authorrnv <rnv@opencascade.com>
Mon, 10 Jan 2022 14:20:36 +0000 (17:20 +0300)
committerrnv <rnv@opencascade.com>
Mon, 10 Jan 2022 14:20:36 +0000 (17:20 +0300)
src/Container/SALOME_Container_SignalsHandler.cxx

index 1bd7a66038fc549abc3d17033ff875cdd6ceae12..02ff93f25ee17393c96d50cebe3524264a97546b 100644 (file)
 // CCRT porting
 // #include "CASCatch_SignalsHandler.h" // CAREFUL ! position of this file is critic : see Lucien PIGNOLONI / OCC
 
-extern "C" void HandleServerSideSignals(CORBA::ORB_ptr theORB)
+extern "C" 
+#ifdef WIN32
+__declspec(dllexport)
+#endif
+void HandleServerSideSignals(CORBA::ORB_ptr theORB)
 {
  // CCRT porting
  //  CASCatch_SignalsHandler aSignalsHandler;