From a86ba29cb64dce3c0322b60308661df06b830301 Mon Sep 17 00:00:00 2001 From: Lew Rossman Date: Mon, 29 Oct 2018 09:06:08 -0400 Subject: [PATCH] Restored epanet_export.h to \include folder --- include/epanet_export.h | 42 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 include/epanet_export.h diff --git a/include/epanet_export.h b/include/epanet_export.h new file mode 100644 index 0000000..72113e6 --- /dev/null +++ b/include/epanet_export.h @@ -0,0 +1,42 @@ + +#ifndef DLLEXPORT_H +#define DLLEXPORT_H + +#ifdef SHARED_EXPORTS_BUILT_AS_STATIC +# define DLLEXPORT +# define EPANET_NO_EXPORT +#else +# ifndef DLLEXPORT +# ifdef epanet_EXPORTS + /* We are building this library */ +# define DLLEXPORT __declspec(dllexport) +# else + /* We are using this library */ +# define DLLEXPORT __declspec(dllimport) +# endif +# endif + +# ifndef EPANET_NO_EXPORT +# define EPANET_NO_EXPORT +# endif +#endif + +#ifndef EPANET_DEPRECATED +# define EPANET_DEPRECATED __declspec(deprecated) +#endif + +#ifndef EPANET_DEPRECATED_EXPORT +# define EPANET_DEPRECATED_EXPORT DLLEXPORT EPANET_DEPRECATED +#endif + +#ifndef EPANET_DEPRECATED_NO_EXPORT +# define EPANET_DEPRECATED_NO_EXPORT EPANET_NO_EXPORT EPANET_DEPRECATED +#endif + +#if 0 /* DEFINE_NO_DEPRECATED */ +# ifndef EPANET_NO_DEPRECATED +# define EPANET_NO_DEPRECATED +# endif +#endif + +#endif /* DLLEXPORT_H */