duplicate log level constant value in win32/syslog.h

duplicate log level constant value in win32/syslog.h

am 21.01.2008 09:08:01 von Yoshinari Takaoka

Hi, all.

I wonder why syslog log level value is duplicated in win32/syslog.h,
an example is following.

http://cvs.php.net/viewvc.cgi/php-src/win32/syslog.h?revisio n=1.13&view=markup

#define LOG_NOTICE 6
#define LOG_INFO 6
#define LOG_DEBUG 6

Because of this definition, I can't output over LOG_NOTICE log level
message(LOG_DEGUG, LOG_INFO excluded) in Windows.

is there any reason for this duplicate definition in only win32 ?
or is this a bug?

Best Regards.

--
Yoshinari Takaoka
takaoka@beatcraft.com

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php