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

Submitted by Peter Ross on Nov. 24, 2018, 12:37 p.m.

Details

Message ID 8c43dede0c5e9945dfb9b52e969fc999e26eb59d.1543062564.git.pross@xvid.org
State New
Headers show

Commit Message

Peter Ross Nov. 24, 2018, 12:37 p.m.
---
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(-)

Patch hide | download patch | download mbox

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