The SunOS (tested on OpenIndiana 5.11) C library <math.h> includes
<iso/math_iso.h> which provides declarations for the standard math
routines, both for C and C++(03). However, it lacks the additional
integral variants for C++11 and the additional functions.
Therefore, replace the '#ifndef sun' that disables almost all
declarations with disabling the C++03 variants of common functions which
happens to overlap the AIX checks.