game header changes, submitted by Kevin Baca

This commit is contained in:
Todd A Ouska 2011-07-12 12:25:28 -07:00
parent 11efb11126
commit e8aba51b31
3 changed files with 18 additions and 2 deletions

View File

@ -47,6 +47,9 @@
/* Uncomment next line if using 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)
#include "ctc_config.h" /* may not want global HAVE_CONFIG_H */
#endif
@ -81,6 +84,10 @@
#define NO_HC128
#endif
#ifdef CYASSL_GAME_BUILD
#define SIZEOF_LONG_LONG 8
#endif
#ifdef MICRIUM
#include "stdlib.h"

View File

@ -47,7 +47,11 @@
#endif
#ifdef USE_WINDOWS_API
#include <windows.h>
#ifdef CYASSL_GAME_BUILD
#include "system/xtl.h"
#else
#include <windows.h>
#endif
#elif defined(THREADX)
#ifndef SINGLE_THREADED
#include "tx_api.h"

View File

@ -656,7 +656,12 @@ CYASSL_API int CyaSSL_SetTmpDH(SSL*, unsigned char* p, int pSz,
#ifndef _WIN32
#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 */
CYASSL_API int CyaSSL_writev(SSL* ssl, const struct iovec* iov,
int iovcnt);