diff --git a/renderers/SDL2/clay_renderer_SDL2.c b/renderers/SDL2/clay_renderer_SDL2.c
index 995a67f..698f0a3 100644
--- a/renderers/SDL2/clay_renderer_SDL2.c
+++ b/renderers/SDL2/clay_renderer_SDL2.c
@@ -19,9 +19,6 @@ static Clay_Dimensions SDL2_MeasureText(Clay_String *text, Clay_TextElementConfi
     int height = 0;
     if (TTF_SizeUTF8(font, chars, &width, &height) < 0) {
         fprintf(stderr, "Error: could not measure text: %s\n", TTF_GetError());
-#ifdef CLAY_OVERFLOW_TRAP
-        raise(SIGTRAP);
-#endif
         exit(1);
     }
     free(chars);
@@ -97,9 +94,6 @@ static void Clay_SDL2_Render(SDL_Renderer *renderer, Clay_RenderCommandArray ren
             }
             default: {
                 fprintf(stderr, "Error: unhandled render command: %d\n", renderCommand->commandType);
-#ifdef CLAY_OVERFLOW_TRAP
-                raise(SIGTRAP);
-#endif
                 exit(1);
             }
         }
diff --git a/renderers/raylib/clay_renderer_raylib.c b/renderers/raylib/clay_renderer_raylib.c
index 64b62fb..0fe545a 100644
--- a/renderers/raylib/clay_renderer_raylib.c
+++ b/renderers/raylib/clay_renderer_raylib.c
@@ -4,9 +4,6 @@
 #include "string.h"
 #include "stdio.h"
 #include "stdlib.h"
-#ifdef CLAY_OVERFLOW_TRAP
-#include "signal.h"
-#endif
 
 #define CLAY_RECTANGLE_TO_RAYLIB_RECTANGLE(rectangle) (Rectangle) { .x = rectangle.x, .y = rectangle.y, .width = rectangle.width, .height = rectangle.height }
 #define CLAY_COLOR_TO_RAYLIB_COLOR(color) (Color) { .r = (unsigned char)roundf(color.r), .g = (unsigned char)roundf(color.g), .b = (unsigned char)roundf(color.b), .a = (unsigned char)roundf(color.a) }
@@ -229,9 +226,6 @@ void Clay_Raylib_Render(Clay_RenderCommandArray renderCommands)
             }
             default: {
                 printf("Error: unhandled render command.");
-                #ifdef CLAY_OVERFLOW_TRAP
-                raise(SIGTRAP);
-                #endif
                 exit(1);
             }
         }