[LLVMdev] Visual C patches - forgot to attach to last mail...

Brian Gaeke gaeke at uiuc.edu
Mon Oct 25 12:09:11 PDT 2004


On Oct 25, 2004, at 3:41 AM, Morten Ofstad wrote:
> Index: lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
> ===================================================================
> RCS file:  
> /var/cvs/llvm/llvm/lib/ExecutionEngine/Interpreter/ 
> ExternalFunctions.cpp,v
> retrieving revision 1.78
> diff -u -r1.78 ExternalFunctions.cpp
> --- lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp	1 Sep 2004  
> 22:55:35 -0000	1.78
> +++ lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp	25 Oct 2004  
> 08:29:28 -0000
> @@ -213,6 +213,8 @@
>    return GV;
>  }
>
> +#ifdef HAVE_RAND48
> +
>  // double drand48()
>  GenericValue lle_X_drand48(FunctionType *M, const  
> vector<GenericValue> &Args) {
>    assert(Args.size() == 0);
> @@ -236,6 +238,16 @@
>    return GenericValue();
>  }
>
> +#endif
> [etc.]

Hi,

There's no HAVE_RAND48 symbol provided by autoconf. You'll have to add  
the appropriate check to autoconf/configure.ac before we can take this  
patch.

Thanks,

-Brian




More information about the llvm-dev mailing list