mirror of https://github.com/wolfSSL/wolfssl.git
Freescale: Use new I/O where applicable
parent
a80777179b
commit
0cd893a51b
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue