summaryrefslogtreecommitdiff
path: root/util/imb_api.h
diff options
context:
space:
mode:
Diffstat (limited to 'util/imb_api.h')
-rw-r--r--util/imb_api.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/imb_api.h b/util/imb_api.h
index 56a940c..e6951f8 100644
--- a/util/imb_api.h
+++ b/util/imb_api.h
@@ -49,7 +49,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
/* DOS defines wchar_t in stdlib.h */
#else
// defined(LINUX) | defined(SOLARIS)
-#ifndef _WCHAR_T
+#if !defined(_WCHAR_T) && !defined(__WCHAR_TYPE__)
#define _WCHAR_T
typedef long wchar_t;
#endif