|
From: | Don Ward |
Subject: | Re: [Discuss-gnuradio] Build failure - caused by posix_memalign.cc- in trunk built under Cygwin |
Date: | Tue, 17 Feb 2009 10:22:38 -0500 |
----- Original Message ----- From: "Prior-Jones, Michael R" <address@hidden>
To: "Michael Dickens" <address@hidden> Cc: <address@hidden> Sent: Tuesday, February 17, 2009 9:58 AMSubject: RE: [Discuss-gnuradio] Build failure - caused by posix_memalign.cc- in trunk built under Cygwin
Can you figure out if /usr/include/cygwin/stdlib.h is #included from / usr/include/malloc.h or /usr/include/stdlib.h or some other /usr/ include/[foo].h file? I'd rather #include a reasonably standard header file if at all possible. - MLD/usr/include/stdlib.h references it: #ifdef __CYGWIN__ #include <cygwin/stdlib.h> #endif
/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.
-- Don W.
[Prev in Thread] | Current Thread | [Next in Thread] |