diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2022-02-18 22:47:20 +0100 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2022-02-18 22:47:20 +0100 |
| commit | 20e1aef2925d3dee2a7df3f37df733338b8bc1eb (patch) | |
| tree | 1ffb37e4579e6638ea2c41cb11c522fb6ccbc4ba /src | |
| parent | 4a6e6c25f5a2bdf251c5911bf3118d2da5630901 (diff) | |
only provide backtrace on linux gcc in debug
Diffstat (limited to 'src')
| -rw-r--r-- | src/vkvg_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |