[MPlayer-cvslog] r36045 - in trunk: command.c configure libaf/af.c libmpcodecs/ve_lavc.c libmpcodecs/ve_x264.c libmpdemux/mf.c
diego
subversion at mplayerhq.hu
Sat Mar 23 01:50:52 CET 2013
Author: diego
Date: Sat Mar 23 01:50:51 2013
New Revision: 36045
Log:
build: Add _BSD_SOURCE definition for strsep().
Modified:
trunk/command.c
trunk/configure
trunk/libaf/af.c
trunk/libmpcodecs/ve_lavc.c
trunk/libmpcodecs/ve_x264.c
trunk/libmpdemux/mf.c
Modified: trunk/command.c
==============================================================================
--- trunk/command.c Fri Mar 22 20:59:39 2013 (r36044)
+++ trunk/command.c Sat Mar 23 01:50:51 2013 (r36045)
@@ -16,6 +16,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#define _BSD_SOURCE
+
#include <stdlib.h>
#include <inttypes.h>
#include <unistd.h>
Modified: trunk/configure
==============================================================================
--- trunk/configure Fri Mar 22 20:59:39 2013 (r36044)
+++ trunk/configure Sat Mar 23 01:50:51 2013 (r36045)
@@ -4019,7 +4019,7 @@ echores "$_shm"
echocheck "strsep()"
strsep=yes
def_strsep='#define HAVE_STRSEP 1'
-statement_check string.h 'char *s = "Hello, world!"; strsep(&s, ",")' ||
+define_statement_check _BSD_SOURCE string.h 'char *s = "Hello, world!"; strsep(&s, ",")' ||
{ strsep=no ; def_strsep='#undef HAVE_STRSEP' ; }
echores "$strsep"
Modified: trunk/libaf/af.c
==============================================================================
--- trunk/libaf/af.c Fri Mar 22 20:59:39 2013 (r36044)
+++ trunk/libaf/af.c Sat Mar 23 01:50:51 2013 (r36045)
@@ -16,6 +16,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#define _BSD_SOURCE
+
#include "config.h"
#include <stdio.h>
#include <stdlib.h>
Modified: trunk/libmpcodecs/ve_lavc.c
==============================================================================
--- trunk/libmpcodecs/ve_lavc.c Fri Mar 22 20:59:39 2013 (r36044)
+++ trunk/libmpcodecs/ve_lavc.c Sat Mar 23 01:50:51 2013 (r36045)
@@ -16,6 +16,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#define _BSD_SOURCE
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Modified: trunk/libmpcodecs/ve_x264.c
==============================================================================
--- trunk/libmpcodecs/ve_x264.c Fri Mar 22 20:59:39 2013 (r36044)
+++ trunk/libmpcodecs/ve_x264.c Sat Mar 23 01:50:51 2013 (r36045)
@@ -25,6 +25,8 @@
*
*****************************************************************************/
+#define _BSD_SOURCE
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Modified: trunk/libmpdemux/mf.c
==============================================================================
--- trunk/libmpdemux/mf.c Fri Mar 22 20:59:39 2013 (r36044)
+++ trunk/libmpdemux/mf.c Sat Mar 23 01:50:51 2013 (r36045)
@@ -16,6 +16,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#define _BSD_SOURCE
+
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
More information about the MPlayer-cvslog
mailing list