Reintroduce M_PI compatibility

M_PI is not part of C99 or C++ and thus aren't provided in all configurations.
This used to be handled in reference_math.c directly but was recently removed.
Just tweak the M_PI handling in the compatibility headers to restore builds.
1 file changed
tree: 22ac84dc6f4f10d4ed84053e5131448b9f7971dc
  1. test_common/
  2. test_conformance/
  3. test_extensions/
  4. .travis.yml
  5. clean_tests.py
  6. HOW_TO_ADD_TESTS.txt
  7. license.txt
  8. README.md
README.md

OpenCL-CTS Build Status

The OpenCL Conformance Tests