William A. Rowe, Jr. wrote:
At 12:21 PM 10/1/2004, Greg Marr wrote:
#ifdef DWORD_MAX
#define APR_DWORD_MAX DWORD_MAX
#else
#define APR_DWORD_MAX 0xUL
#endif
Defining DWORD_MAX at all could cause problems if it was defined by a later header file.
++1, this is the right solution, and infini
At 12:21 PM 10/1/2004, Greg Marr wrote:
>#ifdef DWORD_MAX
>#define APR_DWORD_MAX DWORD_MAX
>#else
>#define APR_DWORD_MAX 0xUL
>#endif
>
>Defining DWORD_MAX at all could cause problems if it was defined by a later
>header file.
++1, this is the right solution, and infinitely more legible.
At 01:06 PM 10/1/2004, Jean-Jacques Clar wrote:
>>> "William A. Rowe, Jr." <[EMAIL PROTECTED]> 09/28/04 5:10 PM >>>
>#ifdef DWORD_MAX
>#define APR_DWORD_MAX DWORD_MAX
>#else
>#define DWORD_MAX 4294967295UL
>#endif
What about:
#ifndef DWORD_MAX
#define DWORD_MAX 4294967295UL/* 2^32*/
#endif
#de
>>> "William A. Rowe, Jr." <[EMAIL PROTECTED]> 09/28/04 5:10 PM >>>
>#ifdef DWORD_MAX>#define APR_DWORD_MAX DWORD_MAX>#else>#define DWORD_MAX 4294967295UL>#endifWhat about:
#ifndef DWORD_MAX#define DWORD_MAX 4294967295UL /* 2^32*/#endif
#define APR_DWORD_MAX DWORD_MAX