summaryrefslogtreecommitdiffstats
path: root/util/include/axutil_utils_defines.h
diff options
context:
space:
mode:
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