From 20e1aef2925d3dee2a7df3f37df733338b8bc1eb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jean-Philippe=20Bruy=C3=A8re?= Date: Fri, 18 Feb 2022 22:47:20 +0100 Subject: [PATCH] only provide backtrace on linux gcc in debug --- src/vkvg_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vkvg_device.c b/src/vkvg_device.c index a23c251..e9bd130 100644 --- a/src/vkvg_device.c +++ b/src/vkvg_device.c @@ -90,7 +90,7 @@ void _device_init (VkvgDevice dev, VkInstance inst, VkPhysicalDevice phy, VkDevi _device_create_empty_texture (dev, format, dev->supportedTiling); #ifdef DEBUG - #if __linux__ + #if defined(__linux__) && defined(__GLIBC__) _linux_register_error_handler (); #endif #ifdef VKVG_DBG_UTILS -- 2.47.3