replaced constant with a general macro from the C-standard