(main) [WINDOWSNT]: Don't ifdef away the call to `ttyname'.