summaryrefslogtreecommitdiff
path: root/pjlib/include/pj/compat/errno.h
diff options
context:
space:
mode:
Diffstat (limited to 'pjlib/include/pj/compat/errno.h')
-rw-r--r--pjlib/include/pj/compat/errno.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/pjlib/include/pj/compat/errno.h b/pjlib/include/pj/compat/errno.h
index a4246d72..8c86daa9 100644
--- a/pjlib/include/pj/compat/errno.h
+++ b/pjlib/include/pj/compat/errno.h
@@ -19,7 +19,8 @@
#ifndef __PJ_COMPAT_ERRNO_H__
#define __PJ_COMPAT_ERRNO_H__
-#if defined(PJ_WIN32) && PJ_WIN32 != 0
+#if defined(PJ_WIN32) && PJ_WIN32 != 0 || \
+ defined(PJ_WIN32_WINCE) && PJ_WIN32_WINCE != 0
typedef unsigned long pj_os_err_type;
# define pj_get_native_os_error() GetLastError()