apple define, some cleanup

- apple / *nix defines out the DLL[EX/IM]PORT directives
- we should be using dox markup (see ENrunnexHQ for example)
This commit is contained in:
Sam Hatchett
2013-01-31 15:30:07 -05:00
parent 4f693792c8
commit e5eeccbd1e
3 changed files with 51 additions and 40 deletions

View File

@@ -6,9 +6,11 @@ all original Epanet functions remain intact, and the new LT_functions are added.
/*Note that this file is not used by the functions in the toolkit itself.
Refer to toolkit.h for the internally used function declarations. */
#define DLLIMPORT __declspec(dllimport)
#ifdef __APPLE__
#define DLLIMPORT
#else
#define DLLIMPORT __declspec(dllimport)
#endif
// --- Define the EPANET toolkit constants
#define EN_ELEVATION 0 /* Node parameters */