From 6a66b03663631f663a713cc38a81d7796cd52ec3 Mon Sep 17 00:00:00 2001 From: Jinhao Date: Tue, 29 May 2018 04:14:01 +0800 Subject: [PATCH] fix a syntax error --- source/audio/detail/audio_device.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/audio/detail/audio_device.cpp b/source/audio/detail/audio_device.cpp index 73a0ee8b..cf7f4966 100644 --- a/source/audio/detail/audio_device.cpp +++ b/source/audio/detail/audio_device.cpp @@ -65,7 +65,7 @@ namespace nana{namespace audio bool audio_device::empty() const { -#if defined(NANA_POSIX) && not defined(NANA_LINUX) +#if defined(NANA_POSIX) && !defined(NANA_LINUX) return (-1 == handle_); #else return (nullptr == handle_); @@ -305,7 +305,7 @@ namespace nana{namespace audio }//end namespace audio }//end namespace nana -#if defined(NANA_POSIX) && not defined(NANA_LINUX) +#if defined(NANA_POSIX) && !defined(NANA_LINUX) // parse input securely, no-overruns or overflows. static bool match(char *&cursor, const char *pattern, const char *tail) {