build: Check that _MSC_VER macro is defined
authorNicolas Dufresne <nicolas.dufresne@collabora.co.uk>
Sun, 1 Feb 2015 19:23:26 +0000 (14:23 -0500)
committerNicolas Dufresne <nicolas.dufresne@collabora.co.uk>
Sun, 1 Feb 2015 19:23:26 +0000 (14:23 -0500)
gst/gsttask.c

index 0f55ab9..d9e5697 100644 (file)
@@ -262,7 +262,7 @@ gst_task_configure_name (GstTask * task)
     GST_DEBUG_OBJECT (task, "Failed to set thread name");
 
   GST_OBJECT_UNLOCK (task);
-#elif _MSC_VER
+#elif defined (_MSC_VER)
   const gchar *name;
   name = GST_OBJECT_NAME (task);