Message140354
| Author |
jschneid |
| Recipients |
eric.araujo, jschneid, loewis, srid, terry.reedy |
| Date |
2011年07月14日.18:28:35 |
| SpamBayes Score |
1.3325172e-05 |
| Marked as misclassified |
No |
| Message-id |
<1310668116.27.0.618965935356.issue5999@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Martin - sys/_mbstate.h is only included if _INCLUDE__STDC_A1_SOURCE is defined. The only way this gets defined in the vendor-provided include files is if _XOPEN_SOURCE is defined and is equal to 500, or __STDC_VERSION__ is defined and is greater than or equal to 199901.
I've attached a patch to broaden the _XOPEN_SOURCE case (as the test should clearly have been >=, not ==). Defining __STDC_VERSION__ to 199901 or greater will also do the job, but it feels more like a hack than just fixing what's broken in the vendor include files. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年07月14日 18:28:36 | jschneid | set | recipients:
+ jschneid, loewis, terry.reedy, eric.araujo, srid |
| 2011年07月14日 18:28:36 | jschneid | set | messageid: <1310668116.27.0.618965935356.issue5999@psf.upfronthosting.co.za> |
| 2011年07月14日 18:28:35 | jschneid | link | issue5999 messages |
| 2011年07月14日 18:28:35 | jschneid | create |
|