Commit 4a4f757f authored by Ghislain MARY's avatar Ghislain MARY

Fix build with Visual Studio.

parent 9e9dbd67
......@@ -52,6 +52,10 @@ typedef struct bzrtpChannelContext_struct bzrtpChannelContext_t;
#include "packetParser.h"
#include "stateMachine.h"
#ifdef WIN32
#define snprintf _snprintf
#endif
/* timer related definitions */
#define BZRTP_TIMER_ON 1
#define BZRTP_TIMER_OFF 2
......
......@@ -25,9 +25,9 @@ set(SOURCE_FILES
cryptoPolarssl.c
cryptoUtils.c
packetParser.c
pgpwords.c
stateMachine.c
zidCache.c
pgpwords.c
)
if(ENABLE_STATIC)
......
......@@ -30,6 +30,7 @@ set(TEST_SOURCES
${CMAKE_SOURCE_DIR}/src/cryptoPolarssl.c
${CMAKE_SOURCE_DIR}/src/cryptoUtils.c
${CMAKE_SOURCE_DIR}/src/packetParser.c
${CMAKE_SOURCE_DIR}/src/pgpwords.c
${CMAKE_SOURCE_DIR}/src/stateMachine.c
${CMAKE_SOURCE_DIR}/src/zidCache.c
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment