Skip to content

Commit 50555f0

Browse files
authored
Merge pull request #274 from Libvisual/fix-restrict-define
Core: Fix LV_RESTRICT not correctly defined in C++ when compiling with GCC and Clang.
2 parents af4bc3b + 91cdca5 commit 50555f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libvisual/libvisual/lv_defines.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878

7979
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
8080
# define LV_RESTRICT restrict
81-
#elif defined(__GNUC__) && __GNU__ >= 4
81+
#elif defined(__GNUC__) && __GNUC__ >= 4
8282
# define LV_RESTRICT __restrict__
8383
#elif defined(_MSC_VER) && _MSC_VER >= 1600
8484
# define LV_RESTRICT __restrict

0 commit comments

Comments
 (0)