Browse Source

test_image_write.c: change from standalone to integrated with image_test.c

Sean Barrett 6 years ago
parent
commit
57c7029166
2 changed files with 4 additions and 0 deletions
  1. 2 0
      tests/test_image.c
  2. 2 0
      tests/test_image_write.c

+ 2 - 0
tests/test_image.c

@@ -1 +1,3 @@
+#define STB_IMAGE_STATIC
+#define STB_IMAGE_IMPLEMENTATION
 #include "stb_image.h"

+ 2 - 0
tests/test_image_write.c

@@ -1 +1,3 @@
+#define STB_IMAGE_WRITE_IMPLEMENTATION
+#define STB_IMAGE_WRITE_STATIC
 #include "stb_image_write.h"