diff options
-rw-r--r-- | src/common.c | 2 | ||||
-rw-r--r-- | 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 <libnotify/notify.h> #endif -#ifdef PLATFORM_CYGWIN +#ifdef PROF_PLATFORM_CYGWIN #include <windows.h> #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; |