3787 gcc4.7 __cplusplus change incompatibility
3823 wchar.h and wctype_iso.h incompatibility
Reviewed by: Albert Lee <trisk@nexenta.com>
Approved by: Dan McDonald <danmcd@nexenta.com>
	[illumos-gate merge]

commit 693e4d84eb49b987c3d66cbcd4b13a5c6e9059bf
    3787 gcc4.7 __cplusplus change incompatibility
    3823 wchar.h and wctype_iso.h incompatibility