summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-01-16 01:31:31 +0000
committerChris Lattner <sabre@nondot.org>2005-01-16 01:31:31 +0000
commitcebb964fef3c47e34cb065409692697299bce234 (patch)
tree005fb079092e78f63b314b9fd70753ce06bfbb21 /llvm/lib/ExecutionEngine
parent4fb0fa43095d53c19f19db0af3a326495044b8f8 (diff)
downloadbcm5719-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.cpp2
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;
}
OpenPOWER on IntegriCloud