Salome HOME
#24166 [OCC][Windows] MEDCoupling can't be built under Windows after 34b392fa96 commi... rnv/24166_fix_mpi
authorrnv <rnv@opencascade.com>
Thu, 22 Apr 2021 12:44:30 +0000 (15:44 +0300)
committerrnv <rnv@opencascade.com>
Thu, 22 Apr 2021 12:45:20 +0000 (15:45 +0300)
src/ICoCo/ICoCoField.hxx
src/ICoCo/ICoCoMEDDoubleField.hxx
src/ICoCo/ICoCoMEDIntField.hxx
src/ParaMEDMEM_Swig/ParaMEDMEM.i

index d879946180917dbfddc574684b61ff05abee72a1..ea4959e2ef033e126554e638f0329f5b18e8b1ea 100644 (file)
@@ -34,11 +34,7 @@ namespace ICoCo
    *
    * The Field class holds the name of the field.
    */
-#ifndef SWIG
   class MEDCOUPLINGICOCO_EXPORT Field
-#else
-  class Field
-#endif
   {
   public:
     /*! @brief Set the name of the field.
index a2de0a5f1a298567dd7f199952fba3ad31730f85..ef68ea9a03988573d61c427d9f7129b533d392c9 100644 (file)
@@ -45,11 +45,7 @@ namespace ICoCo
    * @sa the MEDCoupling documentation, notably the reference counter mechanism used to manage the lifecycle of
    * MEDCoupling objects.
    */
-#ifndef SWIG
   class MEDCOUPLINGICOCO_EXPORT MEDDoubleField : public ICoCo::Field
-#else
-  class MEDDoubleField : public ICoCo::Field
-#endif
   {
   public:
     /*! Builds an empty field (internal MEDCoupling object not set).
index f9ef27ab3d77af22fbd872c36f38726b66471dec..1adfbc8598a4d7d8a1e84b58e7f21254ba75a3dc 100644 (file)
@@ -44,11 +44,7 @@ namespace ICoCo
    * @sa the MEDCoupling documentation, notably the reference counter mechanism used to manage the lifecycle of
    * MEDCoupling objects.
    */
-#ifndef SWIG
   class MEDCOUPLINGICOCO_EXPORT MEDIntField : public ICoCo::Field
-#else
-  class MEDIntField : public ICoCo::Field
-#endif
   {
   public:
     /*! Builds an empty field (internal MEDCoupling object not set).
index 40d0bd8db2d06a91f611d4d7dbdf193ad3ed728f..5aee5c600b039bbc5313e8a7dc1025dc40145d33 100644 (file)
@@ -23,6 +23,7 @@
 
 #define MEDCOUPLING_EXPORT
 #define INTERPKERNEL_EXPORT
+#define MEDCOUPLINGICOCO_EXPORT 
 
 %include "MEDCouplingCommon.i"
 %include "ICoCoMEDField.i"