diff --git a/src/epanet.c b/src/epanet.c index 267a0de..53b1040 100644 --- a/src/epanet.c +++ b/src/epanet.c @@ -106,6 +106,7 @@ execute function x and set the error code equal to its return value. ******************************************************************************* */ +#define _CRT_SECURE_NO_DEPRECATE /*** New compile directives ***/ //(2.00.11 - LR) //#define CLE /* Compile as a command line executable */ diff --git a/src/hydraul.c b/src/hydraul.c index 722b40c..51b30a6 100644 --- a/src/hydraul.c +++ b/src/hydraul.c @@ -45,6 +45,7 @@ AUTHOR: L. Rossman writehydwarn() -- see REPORT.C ******************************************************************* */ +#define _CRT_SECURE_NO_DEPRECATE #include #include diff --git a/src/inpfile.c b/src/inpfile.c index 204d61f..cf5d84f 100644 --- a/src/inpfile.c +++ b/src/inpfile.c @@ -18,6 +18,7 @@ data describing a piping network to a file in EPANET's text format. ******************************************************************** */ +#define _CRT_SECURE_NO_DEPRECATE #include #include diff --git a/src/input1.c b/src/input1.c index 4ef941c..b78254c 100644 --- a/src/input1.c +++ b/src/input1.c @@ -20,6 +20,7 @@ AUTHOR: L. Rossman ********************************************************************* */ +#define _CRT_SECURE_NO_DEPRECATE #include #include diff --git a/src/input2.c b/src/input2.c index e680f0d..6c73b19 100644 --- a/src/input2.c +++ b/src/input2.c @@ -24,6 +24,7 @@ The following utility functions are all called from INPUT3.C ********************************************************************** */ +#define _CRT_SECURE_NO_DEPRECATE #include #include diff --git a/src/input3.c b/src/input3.c index a8fdfe0..7022639 100644 --- a/src/input3.c +++ b/src/input3.c @@ -19,6 +19,7 @@ All functions in this module are called from newline() in INPUT2.C. ********************************************************************** */ +#define _CRT_SECURE_NO_DEPRECATE #include #include diff --git a/src/report.c b/src/report.c index ad22934..1e00547 100644 --- a/src/report.c +++ b/src/report.c @@ -24,6 +24,7 @@ formatted string S to the report file. ******************************************************************** */ +#define _CRT_SECURE_NO_DEPRECATE #include #include diff --git a/src/rules.c b/src/rules.c index fda54b1..a786875 100644 --- a/src/rules.c +++ b/src/rules.c @@ -22,6 +22,8 @@ AUTHOR: L. Rossman ********************************************************************** */ +#define _CRT_SECURE_NO_DEPRECATE + #include #include #include