mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-19 03:24:09 +00:00
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:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user