changeset 22001:2934974c366a

Remove illegal definition of underscored-prefixed symbol "__MODULE__": All underscored-prefixed symbols have the right re-defined by the compiler, so it's definitely not safe to use any. ICC doesn't seem to like it, GCC doesn't seem to care. Original thread: date: Jan 25, 2007 2:41 PM subject: [MPlayer-dev-eng] [PATCH] remove illegal underscored-prefixed symbols AND date: 01/25/2007 11:43 AM subject: Re: [MPlayer-dev-eng] [PATCH] compiling with Intel C
author gpoirier
date Fri, 26 Jan 2007 09:21:22 +0000
parents f7c209352770
children ebd2d5efb11b
files loader/dmo/DMO_AudioDecoder.c loader/dmo/DMO_VideoDecoder.c loader/dshow/DS_AudioDecoder.c loader/dshow/DS_VideoDecoder.c
diffstat 4 files changed, 0 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/loader/dmo/DMO_AudioDecoder.c	Fri Jan 26 09:07:55 2007 +0000
+++ b/loader/dmo/DMO_AudioDecoder.c	Fri Jan 26 09:21:22 2007 +0000
@@ -35,8 +35,6 @@
 
 #include "../../mp_msg.h"
 
-#define __MODULE__ "DirectShow audio decoder"
-
 typedef long STDCALL (*GETCLASS) (GUID*, GUID*, void**);
 extern void print_wave_header(WAVEFORMATEX *h, int verbose_level);
 
--- a/loader/dmo/DMO_VideoDecoder.c	Fri Jan 26 09:07:55 2007 +0000
+++ b/loader/dmo/DMO_VideoDecoder.c	Fri Jan 26 09:21:22 2007 +0000
@@ -58,8 +58,6 @@
 // strcmp((const char*)info.dll,...)  is used instead of  (... == ...)
 // so Arpi could use char* pointer in his simplified DMO_VideoDecoder class
 
-#define __MODULE__ "DirectShow_VideoDecoder"
-
 #define false 0
 #define true 1
 
--- a/loader/dshow/DS_AudioDecoder.c	Fri Jan 26 09:07:55 2007 +0000
+++ b/loader/dshow/DS_AudioDecoder.c	Fri Jan 26 09:21:22 2007 +0000
@@ -33,8 +33,6 @@
 #include <stdio.h>
 #include <stdlib.h>
 
-#define __MODULE__ "DirectShow audio decoder"
-
 typedef long STDCALL (*GETCLASS) (GUID*, GUID*, void**);
 
 DS_AudioDecoder * DS_AudioDecoder_Open(char* dllname, GUID* guid, WAVEFORMATEX* wf)
--- a/loader/dshow/DS_VideoDecoder.c	Fri Jan 26 09:07:55 2007 +0000
+++ b/loader/dshow/DS_VideoDecoder.c	Fri Jan 26 09:21:22 2007 +0000
@@ -58,8 +58,6 @@
 // strcmp((const char*)info.dll,...)  is used instead of  (... == ...)
 // so Arpi could use char* pointer in his simplified DS_VideoDecoder class
 
-#define __MODULE__ "DirectShow_VideoDecoder"
-
 #define false 0
 #define true 1