upm_platform: use __linux__ define to detect linux platforms

Signed-off-by: Jon Trulson <jtrulson@ics.com>
This commit is contained in:
Jon Trulson 2017-01-10 10:48:38 -07:00
parent 0849fbc674
commit 6ea65a16a4

View File

@ -29,7 +29,7 @@
extern "C" {
#endif
#if defined(linux)
#if defined(__linux__)
# define UPM_PLATFORM_LINUX (1)
#elif defined(CONFIG_BOARD_ARDUINO_101) || \
defined(CONFIG_BOARD_ARDUINO_101_SSS) || \