From: rnv Date: Mon, 10 Jan 2022 14:20:36 +0000 (+0300) Subject: #26945 [CEA][Windows] Kernel compilation failure X-Git-Tag: EMC2P_V_1_3_5-rc1~9 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d0c5d77c7990e705b7e4946a805b8d0fb815530a;p=modules%2Fkernel.git #26945 [CEA][Windows] Kernel compilation failure --- diff --git a/src/Container/SALOME_Container_SignalsHandler.cxx b/src/Container/SALOME_Container_SignalsHandler.cxx index 1bd7a6603..02ff93f25 100644 --- a/src/Container/SALOME_Container_SignalsHandler.cxx +++ b/src/Container/SALOME_Container_SignalsHandler.cxx @@ -29,7 +29,11 @@ // 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;