summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/fast_float/testbed/fast_float_testbed.c2
-rw-r--r--plugins/threaded/testbed/threaded_testbed.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/plugins/fast_float/testbed/fast_float_testbed.c b/plugins/fast_float/testbed/fast_float_testbed.c
index addef00..005bee6 100644
--- a/plugins/fast_float/testbed/fast_float_testbed.c
+++ b/plugins/fast_float/testbed/fast_float_testbed.c
@@ -29,7 +29,9 @@
# include "crtdbg.h"
#endif
+#ifndef PROFILES_DIR
#define PROFILES_DIR "../../test_profiles/"
+#endif
// Some pixel representations
typedef struct { cmsUInt8Number r, g, b; } Scanline_rgb8bits;
diff --git a/plugins/threaded/testbed/threaded_testbed.c b/plugins/threaded/testbed/threaded_testbed.c
index 0715ab3..ef8d90e 100644
--- a/plugins/threaded/testbed/threaded_testbed.c
+++ b/plugins/threaded/testbed/threaded_testbed.c
@@ -29,7 +29,9 @@
# include "crtdbg.h"
#endif
+#ifndef PROFILES_DIR
#define PROFILES_DIR "../../test_profiles/"
+#endif
// A fast way to convert from/to 16 <-> 8 bits
#define FROM_8_TO_16(rgb) (cmsUInt16Number) ((((cmsUInt16Number) (rgb)) << 8)|(rgb))