[MPlayer-cvslog] r35999 - in trunk: loader/ldt_keeper.c loader/pe_image.c loader/win32.c vidix/sh_veu_vid.c

diego subversion at mplayerhq.hu
Sun Mar 17 23:47:36 CET 2013


Author: diego
Date: Sun Mar 17 23:47:35 2013
New Revision: 35999

Log:
Add _BSD_SOURCE #define for getpagesize().

Modified:
   trunk/loader/ldt_keeper.c
   trunk/loader/pe_image.c
   trunk/loader/win32.c
   trunk/vidix/sh_veu_vid.c

Modified: trunk/loader/ldt_keeper.c
==============================================================================
--- trunk/loader/ldt_keeper.c	Sun Mar 17 23:47:31 2013	(r35998)
+++ trunk/loader/ldt_keeper.c	Sun Mar 17 23:47:35 2013	(r35999)
@@ -17,6 +17,8 @@
  * http://svn.mplayerhq.hu/mplayer/trunk/
  */
 
+#define _BSD_SOURCE
+
 #include "config.h"
 #include "ldt_keeper.h"
 

Modified: trunk/loader/pe_image.c
==============================================================================
--- trunk/loader/pe_image.c	Sun Mar 17 23:47:31 2013	(r35998)
+++ trunk/loader/pe_image.c	Sun Mar 17 23:47:35 2013	(r35999)
@@ -37,6 +37,9 @@
  *   newer pe binaries produced by MSVC 5 and later, since they are also aligned
  *   to 4096 byte boundaries on disk.
  */
+
+#define _BSD_SOURCE
+
 #include "config.h"
 #include "debug.h"
 

Modified: trunk/loader/win32.c
==============================================================================
--- trunk/loader/win32.c	Sun Mar 17 23:47:31 2013	(r35998)
+++ trunk/loader/win32.c	Sun Mar 17 23:47:35 2013	(r35999)
@@ -16,6 +16,8 @@ for DLL to know too much about its envir
  * http://svn.mplayerhq.hu/mplayer/trunk/
  */
 
+#define _BSD_SOURCE
+
 #include "config.h"
 #include "mangle.h"
 

Modified: trunk/vidix/sh_veu_vid.c
==============================================================================
--- trunk/vidix/sh_veu_vid.c	Sun Mar 17 23:47:31 2013	(r35998)
+++ trunk/vidix/sh_veu_vid.c	Sun Mar 17 23:47:35 2013	(r35999)
@@ -24,6 +24,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#define _BSD_SOURCE
+
 #include <stdio.h>
 #include <unistd.h>
 #include <string.h>


More information about the MPlayer-cvslog mailing list