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:
@@ -162,7 +162,7 @@ AUTHOR: L. Rossman
|
|||||||
|
|
||||||
|
|
||||||
// --- Declare the EPANET toolkit functions
|
// --- Declare the EPANET toolkit functions
|
||||||
#if defined(__LINUX__) && defined(__cplusplus)
|
#if defined(__cplusplus)
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
int DLLEXPORT ENepanet(char *, char *, char *, void (*) (char *));
|
int DLLEXPORT ENepanet(char *, char *, char *, void (*) (char *));
|
||||||
@@ -235,6 +235,6 @@ extern "C" {
|
|||||||
int DLLEXPORT ENsetstatusreport(int);
|
int DLLEXPORT ENsetstatusreport(int);
|
||||||
int DLLEXPORT ENsetqualtype(int, char *, char *, char *);
|
int DLLEXPORT ENsetqualtype(int, char *, char *, char *);
|
||||||
|
|
||||||
#if defined(__LINUX__) && defined(__cplusplus)
|
#if defined(__cplusplus)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user