0024624: Lost word in license statement in source files
[occt.git] / src / AdvApp2Var / AdvApp2Var_Data_f2c.hxx
old mode 100755 (executable)
new mode 100644 (file)
index f2bbaa5..8ebd731
@@ -1,6 +1,17 @@
+// Copyright (c) 1999-2014 OPEN CASCADE SAS
 //
-// AdvApp2Var_Data_f2c.hxx
+// This file is part of Open CASCADE Technology software library.
+//
+// This library is free software; you can redistribute it and/or modify it under
+// the terms of the GNU Lesser General Public License version 2.1 as published
+// by the Free Software Foundation, with special exception defined in the file
+// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
+// distribution for complete text of the license and disclaimer of any warranty.
 //
+// Alternatively, this file may be used under the terms of Open CASCADE
+// commercial license or contractual agreement.
+
+// AdvApp2Var_Data_f2c.hxx
 #ifndef Data_f2c_HeaderFile
 #define Data_f2c_HeaderFile
 
@@ -155,12 +166,12 @@ struct Namelist {
        };
 typedef struct Namelist Namelist;
 
-#define abs(x) ((x) >= 0 ? (x) : -(x))
-#define dabs(x) (doublereal)abs(x)
-#define min(a,b) ((a) <= (b) ? (a) : (b))
-#define max(a,b) ((a) >= (b) ? (a) : (b))
-#define dmin(a,b) (doublereal)min(a,b)
-#define dmax(a,b) (doublereal)max(a,b)
+#define advapp_abs(x) ((x) >= 0 ? (x) : -(x))
+#define dabs(x) (doublereal)advapp_abs(x)
+#define advapp_min(a,b) ((a) <= (b) ? (a) : (b))
+#define advapp_max(a,b) ((a) >= (b) ? (a) : (b))
+#define dmin(a,b) (doublereal)advapp_min(a,b)
+#define dmax(a,b) (doublereal)advapp_max(a,b)
 #define bit_test(a,b)  ((a) >> (b) & 1)
 #define bit_clear(a,b) ((a) & ~((uinteger)1 << (b)))
 #define bit_set(a,b)   ((a) |  ((uinteger)1 << (b)))