This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository efl.

View the commit online.

commit 34525907a035e223f6d5a6925e83ec21d0daadc5
Author: Vincent Torri <vto...@outlook.fr>
AuthorDate: Sun Nov 3 12:23:56 2024 +0100

    Windows: S_ISSOCK macro not available on Windows
---
 src/lib/ethumb/ethumb.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/lib/ethumb/ethumb.c b/src/lib/ethumb/ethumb.c
index 7e9b20c8ed..1dc5186685 100644
--- a/src/lib/ethumb/ethumb.c
+++ b/src/lib/ethumb/ethumb.c
@@ -1490,7 +1490,10 @@ _ethumb_image_load(Ethumb *e)
 
    if (stat(e->src_path, &st) != 0) return 0;
    if (S_ISDIR(st.st_mode) || S_ISFIFO(st.st_mode) ||
-       S_ISSOCK(st.st_mode) || S_ISBLK(st.st_mode) ||
+#ifdef S_ISSOCK
+       S_ISSOCK(st.st_mode) ||
+#endif
+       S_ISBLK(st.st_mode) ||
        S_ISCHR(st.st_mode)) return 0;
 
    img = e->img;

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to