c89 compatibility because of windows