mirror of
https://github.com/glfw/glfw.git
synced 2026-01-11 23:33:16 +01:00
Header option macro fixes and documentation work.
This adds compile-time checks and documentation warning about defining header option macros during compilation of GLFW. Fixes #445.
This commit is contained in:
@@ -165,7 +165,7 @@ extern "C" {
|
||||
* version of the GLFW library. _GLFW_BUILD_DLL is defined by the GLFW
|
||||
* configuration header when compiling the DLL version of the library.
|
||||
*/
|
||||
#error "You must not have both GLFW_DLL and _GLFW_BUILD_DLL defined"
|
||||
#error "You may not have both GLFW_DLL and _GLFW_BUILD_DLL defined"
|
||||
#endif
|
||||
|
||||
/* GLFWAPI is used to declare public API functions for export
|
||||
|
||||
Reference in New Issue
Block a user