ifdef file descriptor