shithub: qk1

Download patch

ref: 18c2fe5605dfe16142b6dd4eb7356038989d5801
parent: 894b9a3c79300b7e29267c9896e60bb7409abbd4
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Thu Dec 21 19:58:16 EST 2023

stb: no <assert.h> on plan 9

--- a/stb_image_resize2.h
+++ b/stb_image_resize2.h
@@ -808,7 +808,9 @@
 #if defined(STB_IMAGE_RESIZE_IMPLEMENTATION) || defined(STB_IMAGE_RESIZE2_IMPLEMENTATION)
 
 #ifndef STBIR_ASSERT
+#ifndef __plan9__
 #include <assert.h>
+#endif
 #define STBIR_ASSERT(x) assert(x)
 #endif