aboutsummaryrefslogtreecommitdiffstats
path: root/src/libgamma-method.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/libgamma-method.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libgamma-method.c b/src/libgamma-method.c
index 67be316..4c81549 100644
--- a/src/libgamma-method.c
+++ b/src/libgamma-method.c
@@ -233,7 +233,7 @@ void libgamma_gamma_rampsf_free(libgamma_gamma_rampsf_t* restrict this)
int libgamma_gamma_rampsd_initialise(libgamma_gamma_rampsd_t* restrict this)
{
size_t n = this->red_size + this->green_size + this->blue_size;
-#ifdef HAVE_GAMMA_METHOD_LINUX_DRM
+#ifdef HAVE_LIBGAMMA_METHOD_LINUX_DRM
/* Valgrind complains about us reading uninitialize memory if we just use malloc. */
this->red = calloc(n, sizeof(double));
#else