diff src/os/win32/ngx_win32_config.h @ 503:b1648294f693 release-0.1.26

nginx-0.1.26-RELEASE import *) 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.
author Igor Sysoev <igor@sysoev.ru>
date Tue, 22 Mar 2005 16:02:46 +0000
parents d4ea69372b94
children 9b8c906f6e63
line wrap: on
line diff
--- 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;