mirror of
https://github.com/ep00ch/lwip-contrib-mac.git
synced 2024-06-12 01:29:28 +00:00
Added missing #if LWIP_HTTPD_CUSTOM_FILES
This commit is contained in:
parent
debf0134df
commit
2de3924493
|
@ -137,9 +137,11 @@ fs_open(const char *name)
|
||||||
void
|
void
|
||||||
fs_close(struct fs_file *file)
|
fs_close(struct fs_file *file)
|
||||||
{
|
{
|
||||||
|
#if LWIP_HTTPD_CUSTOM_FILES
|
||||||
if (file->is_custom_file) {
|
if (file->is_custom_file) {
|
||||||
fs_close_custom(file);
|
fs_close_custom(file);
|
||||||
}
|
}
|
||||||
|
#endif /* LWIP_HTTPD_CUSTOM_FILES */
|
||||||
fs_free(file);
|
fs_free(file);
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------------------------------*/
|
/*-----------------------------------------------------------------------------------*/
|
||||||
|
|
Loading…
Reference in New Issue
Block a user