[llvm-commits] [llvm] r116330 - /llvm/trunk/utils/KillTheDoctor/system_error.h
Francois Pichet
pichet2000 at gmail.com
Wed Oct 13 17:50:22 PDT 2010
no that's doesn't fix it.. those defines are strangely #if 0 in VS2008
On Tue, Oct 12, 2010 at 3:27 PM, Michael J. Spencer
<bigcheesegs at gmail.com> wrote:
> Author: mspencer
> Date: Tue Oct 12 14:27:44 2010
> New Revision: 116330
>
> URL: http://llvm.org/viewvc/llvm-project?rev=116330&view=rev
> Log:
> KillTheDoctor: Fix VS2008 build.
>
> Modified:
> llvm/trunk/utils/KillTheDoctor/system_error.h
>
> Modified: llvm/trunk/utils/KillTheDoctor/system_error.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/KillTheDoctor/system_error.h?rev=116330&r1=116329&r2=116330&view=diff
> ==============================================================================
> --- llvm/trunk/utils/KillTheDoctor/system_error.h (original)
> +++ llvm/trunk/utils/KillTheDoctor/system_error.h Tue Oct 12 14:27:44 2010
> @@ -224,6 +224,11 @@
> #include <cerrno>
> #include <string>
>
> +#ifdef LLVM_ON_WIN32
> + // VS 2008 needs this for some of the defines below.
> +# include <WinSock2.h>
> +#endif
> +
> namespace llvm {
>
> template <class T, T v>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
More information about the llvm-commits
mailing list