amd/aocl-libm-ose

libm_special.h is invalid if WINDOWS or WIN64 is defined

Opened this issue · 1 comments

libm_special.h is currently invalid if WINDOWS or WIN64 is defined since the _AMDLIBM_CODE enum is inside the else path, this causes _AMDLIBM_EXTERNAL to error because __amd_dppd is undefined.

The fix is to move the enum to the shared code path.

Happy to provide a fix here, if one is welcome.