summaryrefslogtreecommitdiff
path: root/tests/tiny_ssim.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2022-03-26 22:57:48 +0200
committerMartin Storsjö <martin@martin.st>2022-03-30 14:56:07 +0300
commit525049097cbb198c8484f330e797520d6fcb36d7 (patch)
tree27752787899c6e6590fa40837f553653cbd98c54 /tests/tiny_ssim.c
parentdb54426975e124e98e5130ad01316cb7afd60630 (diff)
test: tiny_ssim: Don't include config.h
tiny_ssim is built for the build host, not for the target platform. Therefore, it mustn't include the config.h header, which is set up specifically for the target platform and compiler. This fixes cross building for older WinStore platforms, where config.h contains "#define getenv(x) NULL". Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'tests/tiny_ssim.c')
-rw-r--r--tests/tiny_ssim.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/tiny_ssim.c b/tests/tiny_ssim.c
index 08f8e92a03..9740652288 100644
--- a/tests/tiny_ssim.c
+++ b/tests/tiny_ssim.c
@@ -27,7 +27,6 @@
* overlapped 8x8 block sums, rather than the original gaussian weights.
*/
-#include "config.h"
#include <inttypes.h>
#include <limits.h>
#include <math.h>