sigset_t dectection of mingw configure
John W. Eaton
jwe at bevo.che.wisc.edu
Mon Dec 3 13:36:35 CST 2007
On 3-Dec-2007, Tatsuro MATSUOKA wrote:
| In the mingw, after the ./configure
| in 'config.h'
|
| #if !defined(HAVE_SIGSET_T)
| typedef int sigset_t;
| #endif
|
| is defined.
|
| But actually, in the mingw system, 'sigset_t' is defined in .../MinGW/include/sys/types.h.
| (In Cygwin, it is defined in 'signal.h'. Perhaps in Unix it is place in 'signal.h'??)
|
|
| So that
|
| #if !defined(HAVE_SIGSET_T)
| typedef int sigset_t;
| #endif
|
| will always gives the depucated definition in the 'make'.
|
| So I alwas comment out after ./configure, I comment out like the following,
|
| #if !defined(HAVE_SIGSET_T)
| // typedef int sigset_t;
| #endif
Does the following patch help?
jwe
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diffs
Url: https://www.cae.wisc.edu/pipermail/octave-maintainers/attachments/20071203/72d6c6ab/attachment.ksh
More information about the Octave-maintainers
mailing list