1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-27 04:28:52 -05:00

Added configuration error check.

This commit is contained in:
Camilla Berglund 2012-03-25 17:43:02 +02:00
parent 2588c9be17
commit cc5d7cda64

View File

@ -119,6 +119,10 @@ extern "C" {
/* ---------------- GLFW related system specific defines ----------------- */ /* ---------------- GLFW related system specific defines ----------------- */
#if defined(GLFW_DLL) && defined(_GLFW_BUILD_DLL)
#error "You must not have both GLFW_DLL and _GLFW_BUILD_DLL defined"
#endif
#if defined(_WIN32) && defined(_GLFW_BUILD_DLL) #if defined(_WIN32) && defined(_GLFW_BUILD_DLL)
/* We are building a Win32 DLL */ /* We are building a Win32 DLL */