From d37330ced864f32d1d0187dc16379811a1302acb Mon Sep 17 00:00:00 2001 From: bsp2 Date: Sat, 20 Oct 2018 21:31:10 +0200 Subject: [PATCH] test for ARCH_X64 instead of BUILD_64 --- dep/lglw/lglw_linux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dep/lglw/lglw_linux.c b/dep/lglw/lglw_linux.c index f8ad8b5d..98403f06 100644 --- a/dep/lglw/lglw_linux.c +++ b/dep/lglw/lglw_linux.c @@ -367,7 +367,7 @@ void loc_eventProc(void *xevent) { // PropModeReplace, (unsigned char*)temp, 2); // } -#ifdef BUILD_64 +#ifdef ARCH_X64 // GPL code pulled from the amsynth example // Simply swapped out the function names, crashes Ardour in the same was as the others void loc_setEventProc (Display *display, Window window) { @@ -416,7 +416,7 @@ void loc_setEventProc (Display *display, Window window) { XChangeProperty(display, window, atom, atom, 32, PropModeReplace, (unsigned char*)&data, 1); // 1 instead of 2 will crash Ardour, 2 will not do anything } -#endif // BUILD_64 +#endif // ARCH_X64 // ---------------------------------------------------------------------------- lglw_window_open