Allow synIDattr() getting GUI attributes when build without GUI.
(Matt Wozniski)
diff --git a/src/eval.c b/src/eval.c
index 9339e61..f3fd5ff 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -16953,11 +16953,7 @@
     {
 	mode = get_tv_string_buf(&argvars[2], modebuf);
 	modec = TOLOWER_ASC(mode[0]);
-	if (modec != 't' && modec != 'c'
-#ifdef FEAT_GUI
-		&& modec != 'g'
-#endif
-		)
+	if (modec != 't' && modec != 'c' && modec != 'g')
 	    modec = 0;	/* replace invalid with current */
     }
     else