Mercurial > mplayer.hg
changeset 25589:276d47411414
Fix compilation by replacing a broken macro with in-place code.
qtx/qtxload.c:16:1: error: pasting "*" and "ComponentDispatch" does not give a valid preprocessing token
author | diego |
---|---|
date | Sun, 06 Jan 2008 11:53:51 +0000 |
parents | 0f344d22ee48 |
children | 62959db3a504 |
files | loader/qtx/qtxload.c |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/loader/qtx/qtxload.c Sun Jan 06 11:45:47 2008 +0000 +++ b/loader/qtx/qtxload.c Sun Jan 06 11:53:51 2008 +0000 @@ -7,13 +7,11 @@ #include "qtxsdk/components.h" #include "qtxsdk/select.h" -#define DEF_DISPATCHER(name) ComponentResult (*##name)(ComponentParameters *, void **) - /* ilyen egy sima komponens */ ComponentResult ComponentDummy( ComponentParameters *params, void **globals, - DEF_DISPATCHER(ComponentDispatch)) + ComponentResult (*ComponentDispatch)(ComponentParameters *, void **)) { printf("ComponentDummy(params: %p, globals: %p, dispatcher: %p) called!\n", params, globals, ComponentDispatch);