[llvm-commits] [llvm] r58411 - /llvm/trunk/include/llvm/Support/DataTypes.h.in

Dan Gohman gohman at apple.com
Wed Oct 29 17:36:00 PDT 2008


On Oct 29, 2008, at 5:11 PM, Bill Wendling wrote:

> Author: void
> Date: Wed Oct 29 19:11:55 2008
> New Revision: 58411
>
> URL: http://llvm.org/viewvc/llvm-project?rev=58411&view=rev
> Log:
> Revert part of r58048. It was breaking on SnowLeopard claiming that
> "__STDC_CONSTANT_MACROS" needs to be #defined first.
>
> Modified:
>    llvm/trunk/include/llvm/Support/DataTypes.h.in
>
> Modified: llvm/trunk/include/llvm/Support/DataTypes.h.in
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/DataTypes.h.in?rev=58411&r1=58410&r2=58411&view=diff
>
> =
> =
> =
> =
> =
> =
> =
> =
> ======================================================================
> --- llvm/trunk/include/llvm/Support/DataTypes.h.in (original)
> +++ llvm/trunk/include/llvm/Support/DataTypes.h.in Wed Oct 29  
> 19:11:55 2008
> @@ -37,11 +37,6 @@
> # error "Must #define __STDC_LIMIT_MACROS before #including Support/ 
> DataTypes.h"
> #endif
>
> -#if !defined(__STDC_CONSTANT_MACROS)
> -# error "Must #define __STDC_CONSTANT_MACROS before " \
> -        "#including Support/DataTypes.h"
> -#endif

This code was meant to be similar to the code a few lines up.
Where is __STDC_LIMIT_MACROS defined in the SnowLeopard build?
__STDC_CONSTANT_MACROS should be defined there too.

Dan




More information about the llvm-commits mailing list