[examples-posix] fix undefined config macro warnings (#4458)

This commit is contained in:
Jonathan Hui
2020-01-09 11:45:39 -08:00
parent 4b6ba537df
commit c46c9f4374
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -36,6 +36,10 @@
#include "utils/code_utils.h"
#ifndef __linux__
#define __linux__ 0
#endif
// linux microsecond timer
#if __linux__
@@ -35,6 +35,10 @@
#ifndef OPENTHREAD_CORE_POSIX_CONFIG_H_
#define OPENTHREAD_CORE_POSIX_CONFIG_H_
#ifndef OPENTHREAD_RADIO
#define OPENTHREAD_RADIO 0
#endif
/**
* @def OPENTHREAD_CONFIG_PLATFORM_INFO
*