Freescale: Use new I/O where applicable

pull/124/head
Chris Conlon 2015-08-07 16:22:31 -06:00
parent a80777179b
commit 0cd893a51b
9 changed files with 45 additions and 9 deletions

View File

@ -46,7 +46,11 @@
#if defined(DEBUG_WOLFSSL) || defined(SHOW_SECRETS) || defined(CHACHA_AEAD_TEST)
#ifdef FREESCALE_MQX
#include <fio.h>
#if MQX_USE_IO_OLD
#include <fio.h>
#else
#include <nio.h>
#endif
#else
#include <stdio.h>
#endif

View File

@ -31,7 +31,11 @@
#include <wolfssl/error-ssl.h>
#if defined(SHOW_SECRETS) || defined(CHACHA_AEAD_TEST)
#ifdef FREESCALE_MQX
#include <fio.h>
#if MQX_USE_IO_OLD
#include <fio.h>
#else
#include <nio.h>
#endif
#else
#include <stdio.h>
#endif

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -32,7 +32,11 @@
#ifndef NO_FILESYSTEM
#ifdef FREESCALE_MQX
#include <fio.h>
#if MQX_USE_IO_OLD
#include <fio.h>
#else
#include <nio.h>
#endif
#else
#include <stdio.h> /* ERR_printf */
#endif

View File

@ -464,7 +464,11 @@
#include "mqx.h"
#ifndef NO_FILESYSTEM
#include "mfs.h"
#include "fio.h"
#if MQX_USE_IO_OLD
#include "fio.h"
#else
#include "nio.h"
#endif
#endif
#ifndef SINGLE_THREADED
#include "mutex.h"