diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-01-06 11:53:51 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-01-06 11:53:51 +0000 |
commit | e69da423b6f0624a89de480c345e9ce027441c51 (patch) | |
tree | 3735b3201cd79daab0931678debf5e9cc32ce9d0 /loader/qtx | |
parent | 91f3b6460e48856f6420d24289cb1047da4098ab (diff) | |
download | mpv-e69da423b6f0624a89de480c345e9ce027441c51.tar.bz2 mpv-e69da423b6f0624a89de480c345e9ce027441c51.tar.xz |
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
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25617 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'loader/qtx')
-rw-r--r-- | loader/qtx/qtxload.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/loader/qtx/qtxload.c b/loader/qtx/qtxload.c index 6dd088d643..1520da6b37 100644 --- a/loader/qtx/qtxload.c +++ b/loader/qtx/qtxload.c @@ -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); |