diff options
author | cinap_lenrek <cinap_lenrek@localhost> | 2011-05-21 00:42:08 +0000 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@localhost> | 2011-05-21 00:42:08 +0000 |
commit | e7d3e20912baa82965108997013710223152772c (patch) | |
tree | 02d4ed8e367319884582025cb1da2f4c45a05190 /sys/src/cmd/python/Modules/_lsprof.c | |
parent | 9adf75a7091c7bd2afefbeba62a2525d50df4404 (diff) |
remove keyboard stuff from other ports, make openssl and python compile on arm
Diffstat (limited to 'sys/src/cmd/python/Modules/_lsprof.c')
-rw-r--r-- | sys/src/cmd/python/Modules/_lsprof.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/sys/src/cmd/python/Modules/_lsprof.c b/sys/src/cmd/python/Modules/_lsprof.c index d35c894c5..962349829 100644 --- a/sys/src/cmd/python/Modules/_lsprof.c +++ b/sys/src/cmd/python/Modules/_lsprof.c @@ -156,9 +156,13 @@ static PY_LONG_LONG CallExternalTimer(ProfilerObject *pObj) return result; } -#define CALL_TIMER(pObj) ((pObj)->externalTimer ? \ - CallExternalTimer(pObj) : \ - hpTimer()) +static PY_LONG_LONG +CALL_TIMER(ProfilerObject *pObj) +{ + if(pObj->externalTimer) + return CallExternalTimer(pObj); + return hpTimer(); +} /*** ProfilerObject ***/ |