Salome HOME
bos #20661 EDF 22847 - Move to the end
[modules/shaper.git] / src / Config / Config_def.h
index 1edcc6c10227d85502136482bddee2de5d22a448..60105dbc93ad5970cbf30c55a6edb13b60338847 100644 (file)
@@ -1,18 +1,43 @@
-#ifndef CONFIG_H\r
-#define CONFIG_H\r
-\r
-#if defined CONFIG_EXPORTS\r
-#if defined WIN32\r
-#define CONFIG_EXPORT              __declspec( dllexport )\r
-#else\r
-#define CONFIG_EXPORT\r
-#endif\r
-#else\r
-#if defined WIN32\r
-#define CONFIG_EXPORT              __declspec( dllimport )\r
-#else\r
-#define CONFIG_EXPORT\r
-#endif\r
-#endif\r
-\r
-#endif //CONFIG_H\r
\ No newline at end of file
+// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+
+#ifndef CONFIG_H
+#define CONFIG_H
+
+#if defined CONFIG_EXPORTS
+#if defined WIN32
+#define CONFIG_EXPORT              __declspec( dllexport )
+#else
+#define CONFIG_EXPORT
+#endif
+#else
+#if defined WIN32
+#define CONFIG_EXPORT              __declspec( dllimport )
+#else
+#define CONFIG_EXPORT
+#endif
+#endif
+
+#if defined __GNUC__ || defined __clang__
+#define MAYBE_UNUSED __attribute__((unused))
+#else
+#define MAYBE_UNUSED
+#endif
+
+#endif //CONFIG_H