Browse Source

Fix __attribute__ usage

Requires two sets of parentheses, not one.  ...I think
jp9000 12 years ago
parent
commit
8aa2b01eb9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libobs/util/c99defs.h

+ 1 - 1
libobs/util/c99defs.h

@@ -24,7 +24,7 @@
 #ifdef _MSC_VER
 #define FORCE_INLINE __forceinline
 #else
-#define FORCE_INLINE __attribute__(always_inline)
+#define FORCE_INLINE __attribute__((always_inline))
 #endif
 
 #ifdef _MSC_VER