This commit is contained in:
Kovid Goyal 2019-07-01 16:39:02 +05:30
parent a2407f94e4
commit f49f0d19f9
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

2
glfw/internal.h vendored
View File

@ -247,7 +247,7 @@ typedef void (APIENTRY * PFN_vkVoidFunction)(void);
#endif
// dlsym that works with -Wpedantic
#define glfw_dlsym(dest, handle, name) do {*(void **)&(handle) = _glfw_dlsym(handle, name);}while (0)
#define glfw_dlsym(dest, handle, name) do {*(void **)&(dest) = _glfw_dlsym(handle, name);}while (0)
// Mark function arguments as unused
#define UNUSED __attribute__ ((unused))