Improve compatiblity with HPUX on Itanium, patch by Duraid Madina

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19586 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2005-01-16 01:31:31 +00:00
parent 3eb223eaf7
commit 638559aaa3
3 changed files with 13 additions and 13 deletions

View File

@ -461,7 +461,7 @@ GenericValue lle_X_scanf(FunctionType *M, const vector<GenericValue> &args) {
// int clock(void) - Profiling implementation
GenericValue lle_i_clock(FunctionType *M, const vector<GenericValue> &Args) {
extern int clock(void);
extern unsigned int clock(void);
GenericValue GV; GV.IntVal = clock();
return GV;
}