r198672 - CodeGen: Include llvm/Config/config.h for strtoll on Windows

Eric Christopher echristo at gmail.com
Tue Jan 7 00:39:25 PST 2014


The comment isn't really necessary, the bots will notice us failing to
build on windows again if it's removed. :)

-eric

On Mon, Jan 6, 2014 at 7:43 PM, Justin Bogner <mail at justinbogner.com> wrote:
> Author: bogner
> Date: Mon Jan  6 21:43:15 2014
> New Revision: 198672
>
> URL: http://llvm.org/viewvc/llvm-project?rev=198672&view=rev
> Log:
> CodeGen: Include llvm/Config/config.h for strtoll on Windows
>
> Modified:
>     cfe/trunk/lib/CodeGen/CodeGenPGO.cpp
>
> Modified: cfe/trunk/lib/CodeGen/CodeGenPGO.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CodeGenPGO.cpp?rev=198672&r1=198671&r2=198672&view=diff
> ==============================================================================
> --- cfe/trunk/lib/CodeGen/CodeGenPGO.cpp (original)
> +++ cfe/trunk/lib/CodeGen/CodeGenPGO.cpp Mon Jan  6 21:43:15 2014
> @@ -15,6 +15,7 @@
>  #include "CodeGenFunction.h"
>  #include "clang/AST/RecursiveASTVisitor.h"
>  #include "clang/AST/StmtVisitor.h"
> +#include "llvm/Config/config.h" // for strtoull()/strtoll() define
>  #include "llvm/IR/MDBuilder.h"
>  #include "llvm/Support/FileSystem.h"
>
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits



More information about the cfe-commits mailing list