From: Jean-Philippe Bruyère Date: Fri, 18 Feb 2022 21:47:20 +0000 (+0100) Subject: only provide backtrace on linux gcc in debug X-Git-Url: https://git.osiis.dedyn.io/?a=commitdiff_plain;h=20e1aef2925d3dee2a7df3f37df733338b8bc1eb;p=jp%2Fvkvg.git only provide backtrace on linux gcc in debug --- 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