[MPlayer-cvslog] r38663 - trunk/configure

komh subversion at mplayerhq.hu
Tue Oct 1 11:42:31 EEST 2024


Author: komh
Date: Tue Oct  1 11:42:31 2024
New Revision: 38663

Log:
configure: define _EMX_SOURCE on OS/2

-std=c11 disables many extensions of OS/2 kLIBC. And this causes many
compilation errors such as implicit functions.

To enable extensions of OS/2 kLIBC, define _EMX_SOURCE.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Tue Oct  1 11:05:38 2024	(r38662)
+++ trunk/configure	Tue Oct  1 11:42:31 2024	(r38663)
@@ -1952,6 +1952,7 @@ if os2 ; then
   test -n "$ld_static" && ld_static='-Wl,-static'
   # OS/2 linker does not support a thin archive. Remove 'T' flag.
   _arflags=$(echo $_arflags | tr -d T)
+  extra_cflags="$extra_cflags -D_EMX_SOURCE"
 fi
 
 if wine ; then


More information about the MPlayer-cvslog mailing list