0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 20:03:10 +02:00

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
This commit is contained in:
diego 2008-01-06 11:53:51 +00:00
parent 91f3b6460e
commit e69da423b6

View File

@ -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);