mirror of
https://github.com/eclipse/upm.git
synced 2025-03-15 04:57:30 +03:00
upm_platform: use __linux__ define to detect linux platforms
Signed-off-by: Jon Trulson <jtrulson@ics.com>
This commit is contained in:
parent
0849fbc674
commit
6ea65a16a4
@ -29,7 +29,7 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(linux)
|
#if defined(__linux__)
|
||||||
# define UPM_PLATFORM_LINUX (1)
|
# define UPM_PLATFORM_LINUX (1)
|
||||||
#elif defined(CONFIG_BOARD_ARDUINO_101) || \
|
#elif defined(CONFIG_BOARD_ARDUINO_101) || \
|
||||||
defined(CONFIG_BOARD_ARDUINO_101_SSS) || \
|
defined(CONFIG_BOARD_ARDUINO_101_SSS) || \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user