mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2025-08-17 17:05:50 +00:00
Build fixes for NaCl SDK
This commit is contained in:
parent
dfdfe4f0f6
commit
21ec3f0270
@ -129,6 +129,9 @@ OAES_RET oaes_base64_decode(
|
||||
if( _out_len_req > *out_len )
|
||||
return OAES_RET_ERROR;
|
||||
|
||||
// Satisfy overzealous compiler
|
||||
memset(_buf1, 0, sizeof(_buf1));
|
||||
|
||||
memset(out, 0, *out_len);
|
||||
*out_len = 0;
|
||||
while( in_len-- && strchr(_oaes_base64_table, in[_idx++]) )
|
||||
|
@ -14,6 +14,7 @@
|
||||
#include <pthread.h>
|
||||
#include <sys/time.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <netinet/in.h>
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
@ -47,7 +48,9 @@ void LimelogWindows(char* Format, ...);
|
||||
#endif
|
||||
#else
|
||||
#ifndef LC_DEBUG
|
||||
#define NDEBUG
|
||||
#ifndef NDEBUG
|
||||
#define NDEBUG
|
||||
#endif
|
||||
#endif
|
||||
#include <assert.h>
|
||||
#define LC_ASSERT(x) assert(x)
|
||||
|
Loading…
x
Reference in New Issue
Block a user