[FFmpeg-cvslog] r11313 - in trunk: configure libavformat/os_support.h libavutil/internal.h

diego subversion
Mon Dec 24 13:49:27 CET 2007


Author: diego
Date: Mon Dec 24 13:49:27 2007
New Revision: 11313

Log:
djgpp port, first part
patch by Michael Kostylev, mik niipt ru


Modified:
   trunk/configure
   trunk/libavformat/os_support.h
   trunk/libavutil/internal.h

Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Mon Dec 24 13:49:27 2007
@@ -1218,6 +1218,13 @@ case $targetos in
         SLIBNAME_WITH_MAJOR='$(SLIBPREF)$(FULLNAME)-$(LIBMAJOR)$(SLIBSUF)'
         SHFLAGS='-shared -Wl,--enable-auto-image-base'
         ;;
+    *-dos|freedos|opendos)
+        enable memalign_hack
+        disable ffplay ffserver vhook
+        disable $INDEV_LIST $OUTDEV_LIST
+        network_extralibs="-lsocket"
+        EXESUF=".exe"
+        ;;
     linux)
         LDLATEFLAGS="-Wl,--as-needed $LDLATEFLAGS"
         enable dv1394

Modified: trunk/libavformat/os_support.h
==============================================================================
--- trunk/libavformat/os_support.h	(original)
+++ trunk/libavformat/os_support.h	Mon Dec 24 13:49:27 2007
@@ -27,7 +27,7 @@
  * miscellaneous OS support macros and functions.
  */
 
-#if defined(__BEOS__) || defined(__INNOTEK_LIBC__)
+#if defined(__BEOS__) || defined(__INNOTEK_LIBC__) || defined(__DJGPP__)
 typedef int socklen_t;
 #endif
 

Modified: trunk/libavutil/internal.h
==============================================================================
--- trunk/libavutil/internal.h	(original)
+++ trunk/libavutil/internal.h	Mon Dec 24 13:49:27 2007
@@ -118,7 +118,7 @@
 #endif
 
 // Use rip-relative addressing if compiling PIC code on x86-64.
-#if defined(__MINGW32__) || defined(__CYGWIN__) || \
+#if defined(__MINGW32__) || defined(__CYGWIN__) || defined(__DJGPP__) || \
     defined(__OS2__) || (defined (__OpenBSD__) && !defined(__ELF__))
 #    if defined(ARCH_X86_64) && defined(PIC)
 #        define MANGLE(a) "_" #a"(%%rip)"




More information about the ffmpeg-cvslog mailing list