Fixing build for python wrapper

This commit is contained in:
Michael Tryby
2018-08-28 11:23:30 -04:00
parent 21ab62cfd4
commit bdfe7ec289
4 changed files with 8 additions and 10 deletions

View File

@@ -30,9 +30,7 @@
#define EN_API_FLOAT_TYPE float
#endif
#ifdef WITH_GENX
#include "epanet_export.h"
#else
#ifdef NO_GENX
// --- define WINDOWS
#undef WINDOWS
#ifdef _WIN32
@@ -62,6 +60,8 @@
#define DLLEXPORT
#endif
#endif
#else
#include "epanet_export.h"
#endif