nigels-com / glew

The OpenGL Extension Wrangler Library
Other
2.67k stars 625 forks source link

Check the macOS deployment target before using dlfcn.h #380

Closed NeRdTheNed closed 1 year ago

NeRdTheNed commented 1 year ago

The header that checks if dlfcn.h is available currently checks if MAC_OS_X_VERSION_10_3 is defined, but it doesn't check if the deployment target is greater or equal to macOS 10.3. This PR adds a check for the deployment target.

nigels-com commented 1 year ago

Looks good! Thanks.