]> git.sesse.net Git - vlc/blobdiff - src/misc/cpu.c
vlc_(d|l|m)rand48: thread-safe wrappers for non-secure/fast PRNG
[vlc] / src / misc / cpu.c
index b09debb2fdbe4f1764d5379e5ee485ad03668a56..3b0d278999938d58f9901aa9a9afba9181d3140c 100644 (file)
@@ -85,9 +85,7 @@ static bool check_OS_capability( const char *psz_capability, pid_t pid )
 
 # else /* WIN32 */
 #  define check_capability(name, flag, code)   \
-     do {                                      \
-        i_capabilities |= (flag);              \
-     } while(0)
+        i_capabilities |= (flag);
 # endif
 #endif
 
@@ -313,7 +311,7 @@ const struct
     { CPU_CAPABILITY_SSE,     "sse" },
 #endif
 #if defined (__ppc__) || defined (__ppc64__) || defined (__powerpc__)
-    { CPU_CAPABILITY_ALTIVEC, "altivec" },
+    { CPU_CAPABILITY_ALTIVEC, "altivec" },
 #endif
 #if defined (__arm__)
     { CPU_CAPABILITY_NEON,    "arm_neon" },