[llvm-commits] [llvm] r120820 - /llvm/trunk/lib/Support/Windows/PathV2.inc
Michael Spencer
bigcheesegs at gmail.com
Fri Dec 3 15:00:49 PST 2010
On Fri, Dec 3, 2010 at 4:13 PM, Anton Korobeynikov
<anton at korobeynikov.info> wrote:
>> +// MinGW doesn't define this.
>> +#ifndef _ERRNO_T_DEFINED
>> +#define _ERRNO_T_DEFINED
>> +typedef int errno_t;
>> +#endif
> Don't do this. It's defined inside _mingw.h which should be included
> via stdlib.h at least. But basically you should have configure check
> for this (errno.h / stdlib.h)
How's the attached patch? I can't test the autoconf changes, and I
can't commit the CMake changes until autoconf is also changed.
- Michael Spencer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cleanup-config.patch
Type: application/octet-stream
Size: 4215 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20101203/05abadbd/attachment.obj>
More information about the llvm-commits
mailing list