There is already a huge amount of libraries that abstract the hard part for you. 95% of our C++ code isn't platform specific and we support FreeBSD, Linux and Windows.
I've never used a non-trivial piece of cross-platform software that didn't have significant platform-specific bugs. If you're claiming yours doesn't, I'm going to have to ask for access to your customer support email...