Skip to content

Commit

Permalink
test: tiny_ssim: Don't include config.h
Browse files Browse the repository at this point in the history
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ö <[email protected]>
  • Loading branch information
mstorsjo committed Mar 30, 2022
1 parent db54426 commit 5250490
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/tiny_ssim.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 5250490

Please sign in to comment.