comparison src/core/ngx_string.c @ 5358:670ceaba03d8

Win32: Open Watcom C compatibility fixes. Precompiled headers are disabled as they lead to internal compiler errors with long configure lines. Couple of false positive warnings silenced. Various win32 typedefs are adjusted to work with Open Watcom C 1.9 headers. With this patch, it's now again possible to compile nginx using owc386, with options we normally compile on win32 minus ipv6 and ssl.
author Maxim Dounin <mdounin@mdounin.ru>
date Wed, 04 Sep 2013 20:48:22 +0400
parents 814541b2ec23
children 72e31d88defa
comparison
equal deleted inserted replaced
5357:659464c695b7 5358:670ceaba03d8
484 484
485 p = temp + NGX_INT64_LEN; 485 p = temp + NGX_INT64_LEN;
486 486
487 if (hexadecimal == 0) { 487 if (hexadecimal == 0) {
488 488
489 if (ui64 <= NGX_MAX_UINT32_VALUE) { 489 if (ui64 <= (uint64_t) NGX_MAX_UINT32_VALUE) {
490 490
491 /* 491 /*
492 * To divide 64-bit numbers and to find remainders 492 * To divide 64-bit numbers and to find remainders
493 * on the x86 platform gcc and icc call the libc functions 493 * on the x86 platform gcc and icc call the libc functions
494 * [u]divdi3() and [u]moddi3(), they call another function 494 * [u]divdi3() and [u]moddi3(), they call another function