Replace custom macro with stdlib 
This is part of the C99 standard so I think better to leverage builtin functionality rather than redefine
LGTM pending green test failure looks similar to #29976. possibly related to #30065 You can ignore that error, did a quick "fix" to get CI green again for now: https://github.com/pandas-dev/pandas/pull/30069 Thanks @alimcmaster1 and @jbrockmendel for review