define a dummy EPROTO for platforms that don't use it

This accomplishes the same thing as 2e2ef7fd in a potentially cleaner way.
Merge pull request #503 from chazmcgarvey/define-dummy-eproto

define a dummy EPROTO for platforms that don't use it