ihsan submitted a patch to increase portability and close off a response.