summaryrefslogtreecommitdiff
path: root/sdk/recipes/patches/openssl/m68k-unknown-amigaos/apps.apps.c.p
blob: 3f3a4ec60ca3934cab6f4b182a300aa9c6910911 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- apps.c	2014-10-15 13:53:39.000000000 +0100
+++ apps/apps.c	2015-01-05 21:02:13.650018727 +0000
@@ -3009,9 +3009,11 @@ double app_tminterval(int stop,int usert
 	struct rusage	rus;
 	struct timeval	now;
 	static struct timeval tmstart;
-
+#if !defined(OPENSSL_SYS_AMIGAOS3)
 	if (usertime)		getrusage(RUSAGE_SELF,&rus), now = rus.ru_utime;
-	else			gettimeofday(&now,NULL);
+	else
+#endif
+		gettimeofday(&now,NULL);
 
 	if (stop==TM_START)	tmstart = now;
 	else			ret = ( (now.tv_sec+now.tv_usec*1e-6)