#defined MAXFNAME as 260 instead of L_tmpnam_s

This commit is contained in:
Lew Rossman
2018-06-09 12:07:44 -04:00
parent f0c9684871
commit a73b2d7508

View File

@@ -23,7 +23,6 @@ AUTHOR: L. Rossman
#include "epanet2.h"
#include "hash.h"
#include "mempool.h"
#include <stdio.h>
/*********************************************************/
/* All floats have been re-declared as doubles (7/3/07). */
@@ -50,7 +49,7 @@ typedef int INT4;
#define MAXID 31 /* Max. # characters in ID name */
#define MAXMSG 79 /* Max. # characters in message text */
#define MAXLINE 255 /* Max. # characters read from input line */
#define MAXFNAME L_tmpnam_s /* Max. # characters in file name */
#define MAXFNAME 260 /* Max. # characters in file name */
#define MAXTOKS 40 /* Max. items per line of input */
#define TZERO 1.E-4 /* Zero time tolerance */
#define TRUE 1