gstinfo: clean up function pointer names hashtable
[platform/upstream/gstreamer.git] / gst / gstmacros.h
index 5c0815e..b3313e4 100644 (file)
@@ -42,9 +42,11 @@ G_BEGIN_DECLS
 #endif
 
 /* MSVC defines 'restrict' as a keyword and not a define */
-#if (!defined(__STDC_VERSION__) || __STDC_VERSION__ < 199901L) && !defined(_MSC_VER) && !defined(restrict)
+#if (!defined(__STDC_VERSION__) || __STDC_VERSION__ < 199901L) && !defined(restrict)
 #  if defined(__GNUC__) && __GNUC__ >= 4
 #    define restrict __restrict__
+#  elif defined(_MSC_VER)
+#    define restrict __restrict
 #  else
 #    define restrict
 #  endif