fix spandsp build

This commit is contained in:
Seven Du 2013-08-08 09:05:31 +08:00
parent f7e6c6d6c0
commit 5c7d1ab8d7
1 changed files with 1 additions and 1 deletions

View File

@ -61,8 +61,8 @@ span_aligned_alloc_t __span_aligned_alloc = aligned_alloc;
#elif defined(HAVE_MEMALIGN)
span_aligned_alloc_t __span_aligned_alloc = memalign;
#elif defined(HAVE_POSIX_MEMALIGN)
span_aligned_alloc_t __span_aligned_alloc = fake_posix_memalign;
static void *fake_posix_memalign(size_t alignment, size_t size);
span_aligned_alloc_t __span_aligned_alloc = fake_posix_memalign;
#else
span_aligned_alloc_t __span_aligned_alloc = fake_aligned_alloc;
#endif