Commit 5a81144f authored by Sylvain Berfini's avatar Sylvain Berfini
Browse files

Moved some #define in include headers

parent 1c3635e1
......@@ -204,6 +204,7 @@
<ClInclude Include="..\..\..\include\belle-sip\auth-helper.h" />
<ClInclude Include="..\..\..\include\belle-sip\belle-sdp.h" />
<ClInclude Include="..\..\..\include\belle-sip\belle-sip.h" />
<ClInclude Include="..\..\..\include\belle-sip\defs.h" />
<ClInclude Include="..\..\..\include\belle-sip\dialog.h" />
<ClInclude Include="..\..\..\include\belle-sip\dict.h" />
<ClInclude Include="..\..\..\include\belle-sip\headers.h" />
......
......@@ -29,7 +29,13 @@
#ifdef _MSC_VER
#define BELLESIP_INLINE __inline
typedef __int32 int32_t;
typedef unsigned __int32 uint32_t;
typedef __int64 int64_t;
typedef unsigned __int64 uint64_t;
typedef unsigned char uint8_t;
#else
#include <inttypes.h>
#define BELLESIP_INLINE inline
#endif
......
......@@ -21,12 +21,6 @@
#ifndef WIN32
#include <sys/types.h>
#include <inttypes.h>
#else
typedef __int32 int32_t;
typedef unsigned __int32 uint32_t;
typedef __int64 int64_t;
typedef unsigned __int64 uint64_t;
#endif
......
......@@ -37,9 +37,6 @@
#include <ws2tcpip.h>
#ifdef _MSC_VER
typedef unsigned long long uint64_t;
typedef long long int64_t;
typedef unsigned char uint8_t;
#define strcasecmp(a,b) _stricmp(a,b)
#define snprintf _snprintf
#define vsnprintf _vsnprintf
......
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