more build file targets related to float-precision builds, and comments about the use of that define

This commit is contained in:
Sam Hatchett
2015-09-15 11:42:07 -04:00
parent 7dfd7f748d
commit b62f179e96
2 changed files with 202 additions and 0 deletions

View File

@@ -18,6 +18,8 @@
#ifndef EPANET2_H
#define EPANET2_H
// the toolkit can be compiled with support for double-precision as well.
// just make sure that you use the correct #define in your client code.
#ifndef EN_API_FLOAT_TYPE
#define EN_API_FLOAT_TYPE float
#endif