test_load: Add some missing ifdefs
This commit is contained in:
parent
32901e3bab
commit
5bf590ae7b
|
@ -18,13 +18,16 @@ static const char *const pfxs[] = {
|
||||||
"argb",
|
"argb",
|
||||||
"bmp",
|
"bmp",
|
||||||
"ff",
|
"ff",
|
||||||
|
#ifdef BUILD_GIF_LOADER
|
||||||
"gif",
|
"gif",
|
||||||
|
#endif
|
||||||
#ifdef BUILD_HEIF_LOADER
|
#ifdef BUILD_HEIF_LOADER
|
||||||
"heif",
|
"heif",
|
||||||
#endif
|
#endif
|
||||||
"ico",
|
"ico",
|
||||||
"jpg.mp3", // id3
|
#ifdef BUILD_JPEG_LOADER
|
||||||
"jpg",
|
"jpg",
|
||||||
|
#endif
|
||||||
#ifdef BUILD_J2K_LOADER
|
#ifdef BUILD_J2K_LOADER
|
||||||
"jp2",
|
"jp2",
|
||||||
"j2k",
|
"j2k",
|
||||||
|
@ -33,7 +36,9 @@ static const char *const pfxs[] = {
|
||||||
"jxl",
|
"jxl",
|
||||||
#endif
|
#endif
|
||||||
"ilbm", // lbm
|
"ilbm", // lbm
|
||||||
|
#ifdef BUILD_PNG_LOADER
|
||||||
"png",
|
"png",
|
||||||
|
#endif
|
||||||
"ppm", // pnm
|
"ppm", // pnm
|
||||||
"pgm", // pnm
|
"pgm", // pnm
|
||||||
"pbm", // pnm
|
"pbm", // pnm
|
||||||
|
@ -42,8 +47,12 @@ static const char *const pfxs[] = {
|
||||||
#ifdef BUILD_SVG_LOADER
|
#ifdef BUILD_SVG_LOADER
|
||||||
"svg",
|
"svg",
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef BUILD_TIFF_LOADER
|
||||||
"tiff",
|
"tiff",
|
||||||
|
#endif
|
||||||
|
#ifdef BUILD_WEBP_LOADER
|
||||||
"webp",
|
"webp",
|
||||||
|
#endif
|
||||||
"xbm",
|
"xbm",
|
||||||
"xpm",
|
"xpm",
|
||||||
#ifdef BUILD_BZ2_LOADER
|
#ifdef BUILD_BZ2_LOADER
|
||||||
|
@ -55,6 +64,10 @@ static const char *const pfxs[] = {
|
||||||
#ifdef BUILD_LZMA_LOADER
|
#ifdef BUILD_LZMA_LOADER
|
||||||
"ff.xz", // lzma
|
"ff.xz", // lzma
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef BUILD_ID3_LOADER
|
||||||
|
"jpg.mp3", // id3
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
#define N_PFX (sizeof(pfxs) / sizeof(char*))
|
#define N_PFX (sizeof(pfxs) / sizeof(char*))
|
||||||
|
|
||||||
|
|
|
@ -30,14 +30,20 @@ static tii_t tii[] = {
|
||||||
#ifdef BUILD_LZMA_LOADER
|
#ifdef BUILD_LZMA_LOADER
|
||||||
{ "icon-64.ff.xz", 1153555547 },
|
{ "icon-64.ff.xz", 1153555547 },
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef BUILD_GIF_LOADER
|
||||||
{ "icon-64.gif", 4016720483 },
|
{ "icon-64.gif", 4016720483 },
|
||||||
|
#endif
|
||||||
#ifdef BUILD_HEIF_LOADER
|
#ifdef BUILD_HEIF_LOADER
|
||||||
{ "icon-64.heif", 1346959048 },
|
{ "icon-64.heif", 1346959048 },
|
||||||
#endif
|
#endif
|
||||||
{ "icon-64.ico", 1153555547 },
|
{ "icon-64.ico", 1153555547 },
|
||||||
{ "icon-64.ilbm", 1153555547 },
|
{ "icon-64.ilbm", 1153555547 },
|
||||||
|
#ifdef BUILD_JPEG_LOADER
|
||||||
{ "icon-64.jpg", 4132154843 },
|
{ "icon-64.jpg", 4132154843 },
|
||||||
|
#endif
|
||||||
|
#ifdef BUILD_ID3_LOADER
|
||||||
{ "icon-64.jpg.mp3", 4132154843 },
|
{ "icon-64.jpg.mp3", 4132154843 },
|
||||||
|
#endif
|
||||||
#ifdef BUILD_J2K_LOADER
|
#ifdef BUILD_J2K_LOADER
|
||||||
{ "icon-64.jp2", 451428725 },
|
{ "icon-64.jp2", 451428725 },
|
||||||
{ "icon-64.j2k", 451428725 },
|
{ "icon-64.j2k", 451428725 },
|
||||||
|
@ -51,8 +57,10 @@ static tii_t tii[] = {
|
||||||
#ifdef BUILD_JXL_LOADER
|
#ifdef BUILD_JXL_LOADER
|
||||||
{ "icon-64.jxl", 2534597492 },
|
{ "icon-64.jxl", 2534597492 },
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef BUILD_PNG_LOADER
|
||||||
{ "icon-64.png", 1153555547 },
|
{ "icon-64.png", 1153555547 },
|
||||||
{ "xeyes-gray.png", 3493264608 },
|
{ "xeyes-gray.png", 3493264608 },
|
||||||
|
#endif
|
||||||
{ "icon-64.ppm", 1153555547 },
|
{ "icon-64.ppm", 1153555547 },
|
||||||
{ "icon-64.pgm", 140949526 },
|
{ "icon-64.pgm", 140949526 },
|
||||||
{ "icon-64.pbm", 3936773892 },
|
{ "icon-64.pbm", 3936773892 },
|
||||||
|
@ -68,8 +76,12 @@ static tii_t tii[] = {
|
||||||
{ "xeyes-gray.pam", 1280677270 },
|
{ "xeyes-gray.pam", 1280677270 },
|
||||||
{ "xeyes-mono.pam", 17480910 },
|
{ "xeyes-mono.pam", 17480910 },
|
||||||
{ "icon-64.tga", 1153555547 },
|
{ "icon-64.tga", 1153555547 },
|
||||||
|
#ifdef BUILD_TIFF_LOADER
|
||||||
{ "icon-64.tiff", 1153555547 },
|
{ "icon-64.tiff", 1153555547 },
|
||||||
|
#endif
|
||||||
|
#ifdef BUILD_WEBP_LOADER
|
||||||
{ "icon-64.webp", 1698406918 },
|
{ "icon-64.webp", 1698406918 },
|
||||||
|
#endif
|
||||||
{ "icon-64.xbm", 3936773892 },
|
{ "icon-64.xbm", 3936773892 },
|
||||||
{ "icon-64.xpm", 4016720483 },
|
{ "icon-64.xpm", 4016720483 },
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue