forked from wolfSSL/wolfssl
game header changes, submitted by Kevin Baca
This commit is contained in:
@ -47,6 +47,9 @@
|
|||||||
/* Uncomment next line if using lwip */
|
/* Uncomment next line if using lwip */
|
||||||
/* #define CYASSL_LWIP */
|
/* #define CYASSL_LWIP */
|
||||||
|
|
||||||
|
/* Uncomment next line if building CyaSSL for a game console */
|
||||||
|
/* #define CYASSL_GAME_BUILD */
|
||||||
|
|
||||||
#if defined(USE_CYASSL_CONFIG) || defined(HAVE_CONFIG_H)
|
#if defined(USE_CYASSL_CONFIG) || defined(HAVE_CONFIG_H)
|
||||||
#include "ctc_config.h" /* may not want global HAVE_CONFIG_H */
|
#include "ctc_config.h" /* may not want global HAVE_CONFIG_H */
|
||||||
#endif
|
#endif
|
||||||
@ -81,6 +84,10 @@
|
|||||||
#define NO_HC128
|
#define NO_HC128
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef CYASSL_GAME_BUILD
|
||||||
|
#define SIZEOF_LONG_LONG 8
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef MICRIUM
|
#ifdef MICRIUM
|
||||||
|
|
||||||
#include "stdlib.h"
|
#include "stdlib.h"
|
||||||
|
@ -47,7 +47,11 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef USE_WINDOWS_API
|
#ifdef USE_WINDOWS_API
|
||||||
#include <windows.h>
|
#ifdef CYASSL_GAME_BUILD
|
||||||
|
#include "system/xtl.h"
|
||||||
|
#else
|
||||||
|
#include <windows.h>
|
||||||
|
#endif
|
||||||
#elif defined(THREADX)
|
#elif defined(THREADX)
|
||||||
#ifndef SINGLE_THREADED
|
#ifndef SINGLE_THREADED
|
||||||
#include "tx_api.h"
|
#include "tx_api.h"
|
||||||
|
@ -656,7 +656,12 @@ CYASSL_API int CyaSSL_SetTmpDH(SSL*, unsigned char* p, int pSz,
|
|||||||
|
|
||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
#ifndef NO_WRITEV
|
#ifndef NO_WRITEV
|
||||||
#include <sys/uio.h>
|
#if __PPU
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <sys/socket.h>
|
||||||
|
#else
|
||||||
|
#include <sys/uio.h>
|
||||||
|
#endif
|
||||||
/* allow writev style writing */
|
/* allow writev style writing */
|
||||||
CYASSL_API int CyaSSL_writev(SSL* ssl, const struct iovec* iov,
|
CYASSL_API int CyaSSL_writev(SSL* ssl, const struct iovec* iov,
|
||||||
int iovcnt);
|
int iovcnt);
|
||||||
|
Reference in New Issue
Block a user