]> O.S.I.I.S - jp/vkvg.git/commitdiff
only provide backtrace on linux gcc in debug
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>
Fri, 18 Feb 2022 21:47:20 +0000 (22:47 +0100)
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>
Fri, 18 Feb 2022 21:47:20 +0000 (22:47 +0100)
src/vkvg_device.c

index a23c2512c74528379c44b22b8338b18871f3970f..e9bd13001bbcf277267191c5f6c3f53a6932b142 100644 (file)
@@ -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