diff options
author | Chris Lattner <sabre@nondot.org> | 2005-01-16 01:31:31 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-01-16 01:31:31 +0000 |
commit | cebb964fef3c47e34cb065409692697299bce234 (patch) | |
tree | 005fb079092e78f63b314b9fd70753ce06bfbb21 /llvm/lib/ExecutionEngine | |
parent | 4fb0fa43095d53c19f19db0af3a326495044b8f8 (diff) | |
download | bcm5719-llvm-cebb964fef3c47e34cb065409692697299bce234.tar.gz bcm5719-llvm-cebb964fef3c47e34cb065409692697299bce234.zip |
Improve compatiblity with HPUX on Itanium, patch by Duraid Madina
llvm-svn: 19586
Diffstat (limited to 'llvm/lib/ExecutionEngine')
-rw-r--r-- | llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp b/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp index 8b282a03f00..d2a67411de7 100644 --- a/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp +++ b/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp @@ -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; } |