aboutsummaryrefslogtreecommitdiff
path: root/src/os/win32/ngx_win32_config.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2005-03-22 16:02:46 +0000
committerIgor Sysoev <igor@sysoev.ru>2005-03-22 16:02:46 +0000
commit4d656dcd0bd6309b0ec76fc444198ed6c2948a8e (patch)
tree67ce201b7d515273fa2a6a617542cece4fa16898 /src/os/win32/ngx_win32_config.h
parent3599a1b885533d929315494258fb407765243a95 (diff)
downloadnginx-4d656dcd0bd6309b0ec76fc444198ed6c2948a8e.tar.gz
nginx-4d656dcd0bd6309b0ec76fc444198ed6c2948a8e.zip
nginx-0.1.26-RELEASE importrelease-0.1.26
*) Change: the invalid client header lines are now ignored and logged at the info level. *) Change: the server name is also logged in error log. *) Feature: the ngx_http_auth_basic_module module and the auth_basic and auth_basic_user_file directives.
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;