forked from wolfSSL/wolfssl
Freescale: Use new I/O where applicable
This commit is contained in:
@@ -32,7 +32,11 @@
|
||||
|
||||
#ifdef FREESCALE_MQX
|
||||
#include <mqx.h>
|
||||
#include <fio.h>
|
||||
#if MQX_USE_IO_OLD
|
||||
#include <fio.h>
|
||||
#else
|
||||
#include <nio.h>
|
||||
#endif
|
||||
#else
|
||||
#include <stdio.h>
|
||||
#endif
|
||||
|
||||
+5
-1
@@ -67,7 +67,11 @@
|
||||
|
||||
#ifdef WOLFSSL_DEBUG_ENCODING
|
||||
#ifdef FREESCALE_MQX
|
||||
#include <fio.h>
|
||||
#if MQX_USE_IO_OLD
|
||||
#include <fio.h>
|
||||
#else
|
||||
#include <nio.h>
|
||||
#endif
|
||||
#else
|
||||
#include <stdio.h>
|
||||
#endif
|
||||
|
||||
@@ -47,7 +47,11 @@
|
||||
|
||||
#ifdef SHOW_GEN
|
||||
#ifdef FREESCALE_MQX
|
||||
#include <fio.h>
|
||||
#if MQX_USE_IO_OLD
|
||||
#include <fio.h>
|
||||
#else
|
||||
#include <nio.h>
|
||||
#endif
|
||||
#else
|
||||
#include <stdio.h>
|
||||
#endif
|
||||
|
||||
@@ -90,7 +90,11 @@ void wolfSSL_Debugging_OFF(void)
|
||||
#ifdef DEBUG_WOLFSSL
|
||||
|
||||
#ifdef FREESCALE_MQX
|
||||
#include <fio.h>
|
||||
#if MQX_USE_IO_OLD
|
||||
#include <fio.h>
|
||||
#else
|
||||
#include <nio.h>
|
||||
#endif
|
||||
#else
|
||||
#include <stdio.h> /* for default printf stuff */
|
||||
#endif
|
||||
|
||||
@@ -126,8 +126,12 @@
|
||||
|
||||
#ifdef FREESCALE_MQX
|
||||
#include <mqx.h>
|
||||
#include <fio.h>
|
||||
#include <stdlib.h>
|
||||
#if MQX_USE_IO_OLD
|
||||
#include <fio.h>
|
||||
#else
|
||||
#include <nio.h>
|
||||
#endif
|
||||
#else
|
||||
#include <stdio.h>
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user