mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-15 13:58:32 +00:00
FS-5655 --resolve
This commit is contained in:
1 parent
e94c931102
commit
14ca0b5498
8 files changed
+24
-1
No files matched your search
@@ -48,6 +48,13 @@
|
||||
#include "spandsp/telephony.h"
|
||||
#include "spandsp/alloc.h"
|
||||
|
||||
static void *fake_aligned_alloc(size_t alignment, size_t size);
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable:4232) /* address of dllimport is not static, identity not guaranteed */
|
||||
#endif
|
||||
|
||||
span_alloc_t __span_alloc = malloc;
|
||||
#if defined(HAVE_ALIGNED_ALLOC)
|
||||
span_aligned_alloc_t __span_aligned_alloc = aligned_alloc;
|
||||
@@ -62,7 +69,9 @@ span_aligned_alloc_t __span_aligned_alloc = fake_aligned_alloc;
|
||||
span_realloc_t __span_realloc = realloc;
|
||||
span_free_t __span_free = free;
|
||||
|
||||
static void *fake_aligned_alloc(size_t alignment, size_t size);
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(pop)
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_ALIGNED_ALLOC)
|
||||
#elif defined(HAVE_MEMALIGN)
|
||||
|
||||
@@ -157,6 +157,7 @@
|
||||
<ItemGroup>
|
||||
<ClCompile Include="ademco_contactid.c" />
|
||||
<ClCompile Include="adsi.c" />
|
||||
<ClCompile Include="alloc.c" />
|
||||
<ClCompile Include="async.c" />
|
||||
<ClCompile Include="at_interpreter.c" />
|
||||
<ClCompile Include="awgn.c" />
|
||||
|
||||
@@ -283,6 +283,9 @@
|
||||
<ClCompile Include="math_fixed.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="alloc.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="spandsp\adsi.h">
|
||||
|
||||
@@ -161,6 +161,7 @@
|
||||
<ItemGroup>
|
||||
<ClCompile Include="ademco_contactid.c" />
|
||||
<ClCompile Include="adsi.c" />
|
||||
<ClCompile Include="alloc.c" />
|
||||
<ClCompile Include="async.c" />
|
||||
<ClCompile Include="at_interpreter.c" />
|
||||
<ClCompile Include="awgn.c" />
|
||||
|
||||
@@ -283,6 +283,9 @@
|
||||
<ClCompile Include="math_fixed.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="alloc.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="spandsp\adsi.h">
|
||||
|
||||
Reference in new issue
Block a user