View | Details | Raw Unified | Return to bug 216332 | Differences between
and this patch

Collapse All | Expand All

(-)net-im/uTox/files/patch-src_main.h (-1 / +1 lines)
Lines 7-13 Link Here
7
-#ifndef __OBJC__
7
-#ifndef __OBJC__
8
-#define volatile(x)(x)
8
-#define volatile(x)(x)
9
+#if !defined(__OBJC__) || defined(__NetBSD__) || defined(__FreeBSD__)
9
+#if !defined(__OBJC__) || defined(__NetBSD__) || defined(__FreeBSD__)
10
+#define volatile(x) x
10
+#define volatile(x)(x)
11
 #endif
11
 #endif
12
 
12
 
13
 #define SCALE(x) (((int)((ui_scale / 10.0) * ((double)x))) ?: 1)
13
 #define SCALE(x) (((int)((ui_scale / 10.0) * ((double)x))) ?: 1)

Return to bug 216332