-#ifndef __MEDMEM_UTILITIES\r
-#define __MEDMEM_UTILITIES\r
-\r
-#ifdef MED_WITH_KERNEL\r
-// #ifdef _SALOME\r
-\r
-# include <utilities.h>\r
-\r
-#else\r
-\r
-# include <cstdlib>\r
-# include <iostream>\r
-using namespace std;\r
-\r
-/* --- INFOS is always defined (without _DEBUG_): to be used for warnings, with release version --- */\r
-\r
-# define HEREWEARE {cout<<flush ; cerr << __FILE__ << " [" << __LINE__ << "] : " << flush ;}\r
-# define INFOS(chain) {HEREWEARE ; cerr << chain << endl ;}\r
-# define PYSCRIPT(chain) {cout<<flush ; cerr << "---PYSCRIPT--- " << chain << endl ;}\r
-\r
-\r
-/* --- To print date and time of compilation of current source on stdout --- */\r
-\r
-# if defined ( __GNUC__ )\r
-# define COMPILER "g++" ;\r
-# elif defined ( __sun )\r
-# define COMPILER "CC" ;\r
-# elif defined ( __KCC )\r
-# define COMPILER "KCC" ;\r
-# elif defined ( __PGI )\r
-# define COMPILER "pgCC" ;\r
-# else\r
-# define COMPILER "undefined" ;\r
-# endif\r
-\r
-# ifdef INFOS_COMPILATION\r
-# undef INFOS_COMPILATION\r
-# endif\r
-# define INFOS_COMPILATION {\\r
- cerr << flush;\\r
- cout << __FILE__ ;\\r
- cout << " [" << __LINE__ << "] : " ;\\r
- cout << "COMPILED with " << COMPILER ;\\r
- cout << ", " << __DATE__ ; \\r
- cout << " at " << __TIME__ << endl ;\\r
- cout << "\n\n" ;\\r
- cout << flush ;\\r
- }\r
-\r
-# ifdef _DEBUG_\r
-\r
-/* --- the following MACROS are useful at debug time --- */\r
-\r
-# define HERE {cout<<flush ; cerr << "- Trace " << __FILE__ << " [" << __LINE__ << "] : " << flush ;}\r
-# define SCRUTE(var) {HERE ; cerr << #var << "=" << var << endl ;}\r
-# define MESSAGE(chain) {HERE ; cerr << chain << endl ;}\r
-# define INTERRUPTION(code) {HERE ; cerr << "INTERRUPTION return code= " << code << endl ; exit(code) ;}\r
-\r
-# ifndef ASSERT\r
-# define ASSERT(condition) if (!(condition)){ HERE ; cerr << "CONDITION " << #condition << " NOT VERIFIED"<< endl ; INTERRUPTION(1) ;}\r
-# endif /* ASSERT */\r
-\r
-#define REPERE {cout<<flush ; cerr << " --------------" << endl << flush ;}\r
-#define BEGIN_OF(chain) {REPERE ; HERE ; cerr << "Begin of: " << chain << endl ; REPERE ; }\r
-#define END_OF(chain) {REPERE ; HERE ; cerr << "Normal end of: " << chain << endl ; REPERE ; }\r
-\r
-\r
-\r
-# else /* ifdef _DEBUG_*/\r
-\r
-# define HERE\r
-# define SCRUTE(var) {}\r
-# define MESSAGE(chain) {}\r
-# define INTERRUPTION(code) {}\r
-\r
-# ifndef ASSERT\r
-# define ASSERT(condition) {}\r
-# endif /* ASSERT */\r
-\r
-#define REPERE\r
-#define BEGIN_OF(chain) {}\r
-#define END_OF(chain) {}\r
-\r
-#endif\r
-\r
-#endif\r
-#endif\r
+#ifndef __MEDMEM_UTILITIES
+#define __MEDMEM_UTILITIES
+
+#ifdef MED_WITHOUT_KERNEL
+
+# include <cstdlib>
+# include <iostream>
+using namespace std;
+
+/* --- INFOS is always defined (without _DEBUG_): to be used for warnings, with release version --- */
+
+# define HEREWEARE {cout<<flush ; cerr << __FILE__ << " [" << __LINE__ << "] : " << flush ;}
+# define INFOS(chain) {HEREWEARE ; cerr << chain << endl ;}
+# define PYSCRIPT(chain) {cout<<flush ; cerr << "---PYSCRIPT--- " << chain << endl ;}
+
+
+/* --- To print date and time of compilation of current source on stdout --- */
+
+# if defined ( __GNUC__ )
+# define COMPILER "g++" ;
+# elif defined ( __sun )
+# define COMPILER "CC" ;
+# elif defined ( __KCC )
+# define COMPILER "KCC" ;
+# elif defined ( __PGI )
+# define COMPILER "pgCC" ;
+# else
+# define COMPILER "undefined" ;
+# endif
+
+# ifdef INFOS_COMPILATION
+# undef INFOS_COMPILATION
+# endif
+# define INFOS_COMPILATION {\
+ cerr << flush;\
+ cout << __FILE__ ;\
+ cout << " [" << __LINE__ << "] : " ;\
+ cout << "COMPILED with " << COMPILER ;\
+ cout << ", " << __DATE__ ; \
+ cout << " at " << __TIME__ << endl ;\
+ cout << "\n\n" ;\
+ cout << flush ;\
+ }
+
+# ifdef _DEBUG_
+
+/* --- the following MACROS are useful at debug time --- */
+
+# define HERE {cout<<flush ; cerr << "- Trace " << __FILE__ << " [" << __LINE__ << "] : " << flush ;}
+# define SCRUTE(var) {HERE ; cerr << #var << "=" << var << endl ;}
+# define MESSAGE(chain) {HERE ; cerr << chain << endl ;}
+# define INTERRUPTION(code) {HERE ; cerr << "INTERRUPTION return code= " << code << endl ; exit(code) ;}
+
+# ifndef ASSERT
+# define ASSERT(condition) if (!(condition)){ HERE ; cerr << "CONDITION " << #condition << " NOT VERIFIED"<< endl ; INTERRUPTION(1) ;}
+# endif /* ASSERT */
+
+#define REPERE {cout<<flush ; cerr << " --------------" << endl << flush ;}
+#define BEGIN_OF(chain) {REPERE ; HERE ; cerr << "Begin of: " << chain << endl ; REPERE ; }
+#define END_OF(chain) {REPERE ; HERE ; cerr << "Normal end of: " << chain << endl ; REPERE ; }
+
+
+
+# else /* ifdef _DEBUG_*/
+
+# define HERE
+# define SCRUTE(var) {}
+# define MESSAGE(chain) {}
+# define INTERRUPTION(code) {}
+
+# ifndef ASSERT
+# define ASSERT(condition) {}
+# endif /* ASSERT */
+
+#define REPERE
+#define BEGIN_OF(chain) {}
+#define END_OF(chain) {}
+
+#endif
+
+#else
+// #ifdef _SALOME
+
+# include <utilities.h>
+#endif
+#endif