summaryrefslogtreecommitdiff
path: root/src/OFThread.m
diff options
context:
space:
mode:
Diffstat (limited to 'src/OFThread.m')
-rw-r--r--src/OFThread.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/OFThread.m b/src/OFThread.m
index 75c1a90a..aab7c04b 100644
--- a/src/OFThread.m
+++ b/src/OFThread.m
@@ -84,6 +84,9 @@
#ifdef OF_DJGPP
# define lrint(x) rint(x)
#endif
+#ifdef OF_AMIGAOS3
+# define lrint(x) ((long)x)
+#endif
#ifdef OF_HAVE_THREADS
# import "threading.h"