diff options
author | dos-reis <gdr@axiomatics.org> | 2008-05-23 01:04:38 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2008-05-23 01:04:38 +0000 |
commit | 7d85189b98ae004c095f4c1b58804f021f67880a (patch) | |
tree | c1726cb97778147af789898521f060d15eb8afa4 /src/include | |
parent | 66bf12078133726c7b95d9708472f2032ba458db (diff) | |
download | open-axiom-7d85189b98ae004c095f4c1b58804f021f67880a.tar.gz |
Port htadd to win32
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/open-axiom.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/include/open-axiom.h b/src/include/open-axiom.h index 2c0335f0..e2c545a7 100644 --- a/src/include/open-axiom.h +++ b/src/include/open-axiom.h @@ -36,14 +36,15 @@ /* Cope with MS-platform oddities. */ #ifdef __MINGW32__ -# ifdef OPENAXIOM_BUILD_DLL +# ifdef DLL_EXPORT # define OPENAXIOM_EXPORT __declspec(dllexport) -# else +# elif defined(OPENAXIOM_DLL_IMPORT) # define OPENAXIOM_EXPORT __declspec(dllimport) -# endif /* OPENAXIOM_BUILD_DLL */ -#else -# define OPENAXIOM_EXPORT /* nothing */ -#endif /* __MINGW32__ */ +# endif /* DLL_EXPORT */ +#endif /* __MINGW32__ */ +#ifndef OPENAXIOM_EXPORT +# define OPENAXIOM_EXPORT /* nothing */ +#endif /* OPENAXIOM_EXPORT */ #if defined(HAVE_STDINT_H) # include <stdint.h> |