File: 0008-tests-image_write_test.c-use-library.patch

package info (click to toggle)
libstb 0.0~git20220908.8b5f1f3%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 6,292 kB
  • sloc: ansic: 68,653; cpp: 1,501; makefile: 113; sh: 22
file content (25 lines) | stat: -rw-r--r-- 700 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From 89737e68928ff12ea6e36e3464c36f71677f25dd Mon Sep 17 00:00:00 2001
From: yangfl <yangfl@users.noreply.github.com>
Date: Wed, 10 Jul 2019 11:00:07 +0800
Subject: [PATCH 8/8] tests/image_write_test.c: use library

---
 tests/image_write_test.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/tests/image_write_test.c b/tests/image_write_test.c
index 4e4a7e8..fc78011 100644
--- a/tests/image_write_test.c
+++ b/tests/image_write_test.c
@@ -1,8 +1,3 @@
-#ifdef __clang__
-#define STBIWDEF static inline
-#endif
-#define STB_IMAGE_WRITE_STATIC
-#define STB_IMAGE_WRITE_IMPLEMENTATION
 #include "stb_image_write.h"
 
 // using an 'F' since it has no rotational symmetries, and 6x5
-- 
2.35.1