diff --git a/src/demo/demo.c b/src/demo/demo.c index 676e29da8..e60aeb3b1 100644 --- a/src/demo/demo.c +++ b/src/demo/demo.c @@ -490,7 +490,7 @@ summary_table(struct ncdirect* nc, const char* spec){ ncdirect_fg_rgb8(nc, 0xfe, 0x20, 0x76); // PANTONE Strong Red C + 3x0x20 fflush(stdout); // in case we print to stderr below, we want color from above fprintf(stderr, "\nDFSG version. Some demos are unavailable.\n"); -#elif !defined(USE_MULTIMEDIA) // don't double-print for DFSG +#elif !defined(NOTCURSES_USE_MULTIMEDIA) // don't double-print for DFSG ncdirect_fg_rgb8(nc, 0xfe, 0x20, 0x76); // PANTONE Strong Red C + 3x0x20 fflush(stdout); // in case we print to stderr below, we want color from above fprintf(stderr, "\nNo multimedia support. Some demos are unavailable.\n"); diff --git a/src/demo/fallin.c b/src/demo/fallin.c index a229c5ffa..25e53741a 100644 --- a/src/demo/fallin.c +++ b/src/demo/fallin.c @@ -175,7 +175,7 @@ int fallin_demo(struct notcurses* nc){ } } ncplane_erase(stdn); -#ifdef USE_MULTIMEDIA +#ifdef NOTCURSES_USE_MULTIMEDIA #ifndef DFSG_BUILD char* path = find_data("lamepatents.jpg"); struct ncvisual* ncv = ncvisual_from_file(path); diff --git a/tests/visual.cpp b/tests/visual.cpp index f5a0692d3..6f16775c2 100644 --- a/tests/visual.cpp +++ b/tests/visual.cpp @@ -11,7 +11,7 @@ TEST_CASE("Visual") { auto n_ = notcurses_stdplane(nc_); REQUIRE(n_); -#ifndef USE_MULTIMEDIA +#ifndef NOTCURSES_USE_MULTIMEDIA SUBCASE("VisualDisabled"){ REQUIRE(!notcurses_canopen_images(nc_)); REQUIRE(!notcurses_canopen_videos(nc_)); diff --git a/tools/version.h.in b/tools/version.h.in index 265506e75..d75d63fa7 100644 --- a/tools/version.h.in +++ b/tools/version.h.in @@ -10,6 +10,6 @@ #cmakedefine USE_OIIO // set if either USE_FFMPEG || USE_OIIO #if defined(USE_FFMPEG) || defined(USE_OIIO) -#define USE_MULTIMEDIA +#define NOTCURSES_USE_MULTIMEDIA #endif #define NOTCURSES_SHARE "@CMAKE_INSTALL_FULL_DATADIR@/notcurses"