[llvm-commits] [llvm] r120820 - /llvm/trunk/lib/Support/Windows/PathV2.inc

Anton Korobeynikov anton at korobeynikov.info
Fri Dec 3 13:13:08 PST 2010


> +// 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)

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University



More information about the llvm-commits mailing list