aboutsummaryrefslogtreecommitdiff
path: root/src/os/win32/ngx_win32_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/win32/ngx_win32_config.h')
-rw-r--r--src/os/win32/ngx_win32_config.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/os/win32/ngx_win32_config.h b/src/os/win32/ngx_win32_config.h
index 02d4db5c6..f49a16c96 100644
--- a/src/os/win32/ngx_win32_config.h
+++ b/src/os/win32/ngx_win32_config.h
@@ -93,15 +93,23 @@
#define ngx_inline __inline
+#define ngx_cdecl __cdecl
#ifdef _MSC_VER
typedef unsigned __int32 uint32_t;
typedef __int32 int32_t;
+#define ngx_libc_cdecl __cdecl
-#else /* __WATCOMC__ and __BORLANDC__ */
+#elif defined __WATCOMC__
typedef unsigned int uint32_t;
typedef int int32_t;
+#define ngx_libc_cdecl
+
+#else /* __BORLANDC__ */
+typedef unsigned int uint32_t;
+typedef int int32_t;
+#define ngx_libc_cdecl __cdecl
#endif
typedef __int64 int64_t;