Issue #1136130 by pillarsdotnet: Reinstated WATCHDOG_* constants; using PHP equivalents caused issues on Windows.