summaryrefslogtreecommitdiffstats
path: root/util/include/axutil_utils_defines.h
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2013-02-15 22:01:44 +0100
committerGravatar Nikias Bassen2013-02-15 22:01:44 +0100
commit630203f8700d8dcf9be661695418dbbddbe42df4 (patch)
tree2f66a3219f8002715d0e3f68f631d9029b27f62a /util/include/axutil_utils_defines.h
parent598c36b5c4fa71821c04584f093295180aaa5086 (diff)
downloadaxis2c-630203f8700d8dcf9be661695418dbbddbe42df4.tar.gz
axis2c-630203f8700d8dcf9be661695418dbbddbe42df4.tar.bz2
util: fixed building on mingw32
Diffstat (limited to 'util/include/axutil_utils_defines.h')
-rw-r--r--util/include/axutil_utils_defines.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/include/axutil_utils_defines.h b/util/include/axutil_utils_defines.h
index 003cbae..2f5d374 100644
--- a/util/include/axutil_utils_defines.h
+++ b/util/include/axutil_utils_defines.h
@@ -21,7 +21,7 @@
#include <stddef.h>
-#if !defined(_WIN32)
+#if !defined(_WIN32) || defined(__MINGW32__)
#include <stdint.h>
#endif
@@ -30,7 +30,7 @@ extern "C"
{
#endif
-#if defined(_WIN32) && !defined(AXIS2_SKIP_INT_TYPEDEFS)
+#if defined(_WIN32) && !defined(__MINGW32__) && !defined(AXIS2_SKIP_INT_TYPEDEFS)
/**
* ANSI Type definitions for Windows
*/
@@ -107,7 +107,7 @@ extern "C"
/**
* Exporting
*/
-#if defined(_WIN32) && !defined(AXIS2_DECLARE_STATIC)
+#if defined(_WIN32) && !defined(__MINGW32__) && !defined(AXIS2_DECLARE_STATIC)
#define AXIS2_EXPORT __declspec(dllexport)
#else
#define AXIS2_EXPORT
@@ -116,7 +116,7 @@ extern "C"
/**
* Importing
*/
-#if defined(_WIN32)
+#if defined(_WIN32) && !defined(__MINGW32__)
#define AXIS2_IMPORT __declspec(dllimport)
#else
#define AXIS2_IMPORT