toxav new api fixes.

This commit is contained in:
irungentoo 2015-02-25 20:51:37 -05:00
parent 837d4698bb
commit ca997bda70
No known key found for this signature in database
GPG Key ID: 10349DC9BED89E98
2 changed files with 3 additions and 3 deletions

View File

@ -23,7 +23,7 @@
#include "config.h"
#endif /* HAVE_CONFIG_H */
#define __TOX_DEFINED__
#define TOX_DEFINED
typedef struct Messenger Tox;
#define _GNU_SOURCE /* implicit declaration warning */

View File

@ -37,8 +37,8 @@ typedef void ( *ToxAVCallback ) ( void *agent, int32_t call_idx, void *arg );
typedef void ( *ToxAvAudioCallback ) (void *agent, int32_t call_idx, const int16_t *PCM, uint16_t size, void *data);
typedef void ( *ToxAvVideoCallback ) (void *agent, int32_t call_idx, const vpx_image_t *img, void *data);
#ifndef __TOX_DEFINED__
#define __TOX_DEFINED__
#ifndef TOX_DEFINED
#define TOX_DEFINED
typedef struct Tox Tox;
#endif