From 24a8722f3ea12d235b192ebe12529b830efdab9c Mon Sep 17 00:00:00 2001 From: Christopher Baker Date: Wed, 2 Jul 2014 11:18:11 -0500 Subject: [PATCH] Fix typo. --- src/impl/list_ports/list_ports_osx.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/impl/list_ports/list_ports_osx.cc b/src/impl/list_ports/list_ports_osx.cc index fa1aeb8..29da120 100644 --- a/src/impl/list_ports/list_ports_osx.cc +++ b/src/impl/list_ports/list_ports_osx.cc @@ -1,4 +1,4 @@ -#if defined(_APPLE_) +#if defined(__APPLE__) #include #include @@ -282,4 +282,4 @@ serial::list_ports(void) return devices_found; } -#endif // defined(_APPLE_) +#endif // defined(__APPLE__)