forked from wolfSSL/wolfssl
Freescale: Use new I/O where applicable
This commit is contained in:
@ -46,7 +46,11 @@
|
|||||||
|
|
||||||
#if defined(DEBUG_WOLFSSL) || defined(SHOW_SECRETS) || defined(CHACHA_AEAD_TEST)
|
#if defined(DEBUG_WOLFSSL) || defined(SHOW_SECRETS) || defined(CHACHA_AEAD_TEST)
|
||||||
#ifdef FREESCALE_MQX
|
#ifdef FREESCALE_MQX
|
||||||
#include <fio.h>
|
#if MQX_USE_IO_OLD
|
||||||
|
#include <fio.h>
|
||||||
|
#else
|
||||||
|
#include <nio.h>
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#endif
|
#endif
|
||||||
|
@ -31,7 +31,11 @@
|
|||||||
#include <wolfssl/error-ssl.h>
|
#include <wolfssl/error-ssl.h>
|
||||||
#if defined(SHOW_SECRETS) || defined(CHACHA_AEAD_TEST)
|
#if defined(SHOW_SECRETS) || defined(CHACHA_AEAD_TEST)
|
||||||
#ifdef FREESCALE_MQX
|
#ifdef FREESCALE_MQX
|
||||||
#include <fio.h>
|
#if MQX_USE_IO_OLD
|
||||||
|
#include <fio.h>
|
||||||
|
#else
|
||||||
|
#include <nio.h>
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#endif
|
#endif
|
||||||
|
@ -32,7 +32,11 @@
|
|||||||
|
|
||||||
#ifdef FREESCALE_MQX
|
#ifdef FREESCALE_MQX
|
||||||
#include <mqx.h>
|
#include <mqx.h>
|
||||||
#include <fio.h>
|
#if MQX_USE_IO_OLD
|
||||||
|
#include <fio.h>
|
||||||
|
#else
|
||||||
|
#include <nio.h>
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#endif
|
#endif
|
||||||
|
@ -67,7 +67,11 @@
|
|||||||
|
|
||||||
#ifdef WOLFSSL_DEBUG_ENCODING
|
#ifdef WOLFSSL_DEBUG_ENCODING
|
||||||
#ifdef FREESCALE_MQX
|
#ifdef FREESCALE_MQX
|
||||||
#include <fio.h>
|
#if MQX_USE_IO_OLD
|
||||||
|
#include <fio.h>
|
||||||
|
#else
|
||||||
|
#include <nio.h>
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#endif
|
#endif
|
||||||
|
@ -47,7 +47,11 @@
|
|||||||
|
|
||||||
#ifdef SHOW_GEN
|
#ifdef SHOW_GEN
|
||||||
#ifdef FREESCALE_MQX
|
#ifdef FREESCALE_MQX
|
||||||
#include <fio.h>
|
#if MQX_USE_IO_OLD
|
||||||
|
#include <fio.h>
|
||||||
|
#else
|
||||||
|
#include <nio.h>
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#endif
|
#endif
|
||||||
|
@ -90,7 +90,11 @@ void wolfSSL_Debugging_OFF(void)
|
|||||||
#ifdef DEBUG_WOLFSSL
|
#ifdef DEBUG_WOLFSSL
|
||||||
|
|
||||||
#ifdef FREESCALE_MQX
|
#ifdef FREESCALE_MQX
|
||||||
#include <fio.h>
|
#if MQX_USE_IO_OLD
|
||||||
|
#include <fio.h>
|
||||||
|
#else
|
||||||
|
#include <nio.h>
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
#include <stdio.h> /* for default printf stuff */
|
#include <stdio.h> /* for default printf stuff */
|
||||||
#endif
|
#endif
|
||||||
|
@ -126,8 +126,12 @@
|
|||||||
|
|
||||||
#ifdef FREESCALE_MQX
|
#ifdef FREESCALE_MQX
|
||||||
#include <mqx.h>
|
#include <mqx.h>
|
||||||
#include <fio.h>
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#if MQX_USE_IO_OLD
|
||||||
|
#include <fio.h>
|
||||||
|
#else
|
||||||
|
#include <nio.h>
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#endif
|
#endif
|
||||||
|
@ -32,7 +32,11 @@
|
|||||||
|
|
||||||
#ifndef NO_FILESYSTEM
|
#ifndef NO_FILESYSTEM
|
||||||
#ifdef FREESCALE_MQX
|
#ifdef FREESCALE_MQX
|
||||||
#include <fio.h>
|
#if MQX_USE_IO_OLD
|
||||||
|
#include <fio.h>
|
||||||
|
#else
|
||||||
|
#include <nio.h>
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
#include <stdio.h> /* ERR_printf */
|
#include <stdio.h> /* ERR_printf */
|
||||||
#endif
|
#endif
|
||||||
|
@ -464,7 +464,11 @@
|
|||||||
#include "mqx.h"
|
#include "mqx.h"
|
||||||
#ifndef NO_FILESYSTEM
|
#ifndef NO_FILESYSTEM
|
||||||
#include "mfs.h"
|
#include "mfs.h"
|
||||||
#include "fio.h"
|
#if MQX_USE_IO_OLD
|
||||||
|
#include "fio.h"
|
||||||
|
#else
|
||||||
|
#include "nio.h"
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#ifndef SINGLE_THREADED
|
#ifndef SINGLE_THREADED
|
||||||
#include "mutex.h"
|
#include "mutex.h"
|
||||||
|
Reference in New Issue
Block a user