discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Build failure - caused by posix_memalign.cc- in t


From: Michael Dickens
Subject: Re: [Discuss-gnuradio] Build failure - caused by posix_memalign.cc- in trunk built under Cygwin
Date: Tue, 17 Feb 2009 10:38:27 -0500

On Feb 17, 2009, at 10:22 AM, Don Ward wrote:
/usr/include/cygwin/stdlib.h references valloc(), but valloc() is declared in /usr/include/malloc.h. So <malloc.h> is what you want to include for Cygwin.

Isn't <malloc.h> what was added in the first place to posix_memalign.cc, which caused this issue?

I'm good with adding in malloc.h into configure.ac, then into posix_memalign.cc with proper #ifdef around it. That will work with OSX, and won't hurt Linux, and sounds like it'll allow Cygwin to work.

Eric / Johnathan ... comments?  These are small / easy changes. - MLD




reply via email to

[Prev in Thread] Current Thread [Next in Thread]