changeset 18137:75b56435f053

Make the RTP demuxer work with libdvdread 0.9.5. ifo_types.h needs the macros UINT8_MAX UINT16_MAX and INT32_MAX, in stdint.h, which are not defined when the language is C++ unless __STDC_LIMIT_MACROS is defined. patch by Emanuele Giaquinta, emanuele <<.>> giaquinta <<@>> gmail <<.>> com
author diego
date Tue, 18 Apr 2006 14:41:41 +0000
parents 3dcb3aaeb7cb
children 6c6c97e82672
files libmpdemux/Makefile
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/Makefile	Tue Apr 18 13:16:15 2006 +0000
+++ b/libmpdemux/Makefile	Tue Apr 18 14:41:41 2006 +0000
@@ -160,7 +160,7 @@
 OBJS   += $(CPLUSPLUSSRCS:.cpp=.o)
 INCLUDE = -I.. -I../loader $(CSS_INC) $(EXTRA_INC) $(LIBAV_INC)
 CFLAGS  = $(OPTFLAGS) $(INCLUDE) $(XMMS_CFLAGS) $(CDPARANOIA_INC) $(DVB_INC)
-CPLUSPLUSFLAGS  = $(CFLAGS) $(CPLUSPLUSINCLUDE)
+CPLUSPLUSFLAGS  = $(CFLAGS) $(CPLUSPLUSINCLUDE) -D__STDC_LIMIT_MACROS
 CPLUSPLUS = $(CC)
 
 .SUFFIXES: .c .cpp .o