[FFmpeg-devel] [PATCH 1/2] os_support: djgpp: define socket shutdown SHUT_xxx macros

Peter Ross pross at xvid.org
Sat Nov 24 14:37:47 EET 2018


---
two more patches concerning networking.

i will push the other existing djgpp patches soon.

 libavformat/os_support.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/os_support.h b/libavformat/os_support.h
index 7a56dc9a7c..3c3e37fb7c 100644
--- a/libavformat/os_support.h
+++ b/libavformat/os_support.h
@@ -76,7 +76,7 @@ static inline int is_dos_path(const char *path)
     return 0;
 }
 
-#if defined(__OS2__)
+#if defined(__OS2__) || defined(__DJGPP__)
 #define SHUT_RD 0
 #define SHUT_WR 1
 #define SHUT_RDWR 2
-- 
2.17.1

-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20181124/9e7bd89a/attachment.sig>


More information about the ffmpeg-devel mailing list