From 185405b9d1499c249a9d1d4a1b5207bce34aadb4 Mon Sep 17 00:00:00 2001 From: James Booth Date: Thu, 10 Mar 2016 22:21:56 +0000 Subject: [PATCH] Fixed PLATFORM_CYGWIN references --- src/common.c | 2 +- src/ui/notifier.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/common.c b/src/common.c index 1c2f21c3..d6e48db0 100644 --- a/src/common.c +++ b/src/common.c @@ -663,7 +663,7 @@ is_notify_enabled(void) #ifdef PROF_HAVE_LIBNOTIFY notify_enabled = TRUE; #endif -#ifdef PLATFORM_CYGWIN +#ifdef PROF_PLATFORM_CYGWIN notify_enabled = TRUE; #endif diff --git a/src/ui/notifier.c b/src/ui/notifier.c index fabf14c9..ddcac0aa 100644 --- a/src/ui/notifier.c +++ b/src/ui/notifier.c @@ -41,7 +41,7 @@ #ifdef PROF_HAVE_LIBNOTIFY #include #endif -#ifdef PLATFORM_CYGWIN +#ifdef PROF_PLATFORM_CYGWIN #include #endif @@ -227,7 +227,7 @@ notify(const char *const message, int timeout, const char *const category) log_error("Libnotify not initialised."); } #endif -#ifdef PLATFORM_CYGWIN +#ifdef PROF_PLATFORM_CYGWIN NOTIFYICONDATA nid; nid.cbSize = sizeof(NOTIFYICONDATA); //nid.hWnd = hWnd;