# HG changeset patch # User gpoirier # Date 1169803282 0 # Node ID 2934974c366a86cd6089617c43cf216e459da81a # Parent f7c20935277006e3fefe8a36658dd39d9f87219c 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 diff -r f7c209352770 -r 2934974c366a loader/dmo/DMO_AudioDecoder.c --- 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); diff -r f7c209352770 -r 2934974c366a loader/dmo/DMO_VideoDecoder.c --- 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 diff -r f7c209352770 -r 2934974c366a loader/dshow/DS_AudioDecoder.c --- 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 #include -#define __MODULE__ "DirectShow audio decoder" - typedef long STDCALL (*GETCLASS) (GUID*, GUID*, void**); DS_AudioDecoder * DS_AudioDecoder_Open(char* dllname, GUID* guid, WAVEFORMATEX* wf) diff -r f7c209352770 -r 2934974c366a loader/dshow/DS_VideoDecoder.c --- 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