Fixed so that the extern "C" was not just for linux

git-svn-id: https://epanet.svn.sourceforge.net/svnroot/epanet/BASE/trunk@425 c320cabd-cc23-0410-96d8-e60fbf53ed7f
This commit is contained in:
Tom Taxon
2011-12-06 19:00:39 +00:00
parent 3336c4119c
commit 7766a874cb

View File

@@ -162,7 +162,7 @@ AUTHOR: L. Rossman
// --- Declare the EPANET toolkit functions
#if defined(__LINUX__) && defined(__cplusplus)
#if defined(__cplusplus)
extern "C" {
#endif
int DLLEXPORT ENepanet(char *, char *, char *, void (*) (char *));
@@ -235,6 +235,6 @@ extern "C" {
int DLLEXPORT ENsetstatusreport(int);
int DLLEXPORT ENsetqualtype(int, char *, char *, char *);
#if defined(__LINUX__) && defined(__cplusplus)
#if defined(__cplusplus)
}
#endif