1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-30 01:55:30 +00:00

Build fix: Wrap supports_html_media_attr with #ifdef CONFIG_CSS/#endif

This commit is contained in:
Miciah Dashiel Butler Masters 2008-06-18 08:48:18 +00:00
parent 5b6c913c6a
commit c21a3592c9

View File

@ -1241,6 +1241,7 @@ xsp:
goto se;
}
#ifdef CONFIG_CSS
/** Check whether ELinks claims to support any of the media types
* listed in the media attribute of an HTML STYLE or LINK element. */
int
@ -1302,3 +1303,4 @@ supports_html_media_attr(const unsigned char *media)
}
return 0;
}
#endif /* CONFIG_CSS */