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:
parent
91f3b6460e
commit
e69da423b6
@ -7,13 +7,11 @@
|
|||||||
#include "qtxsdk/components.h"
|
#include "qtxsdk/components.h"
|
||||||
#include "qtxsdk/select.h"
|
#include "qtxsdk/select.h"
|
||||||
|
|
||||||
#define DEF_DISPATCHER(name) ComponentResult (*##name)(ComponentParameters *, void **)
|
|
||||||
|
|
||||||
/* ilyen egy sima komponens */
|
/* ilyen egy sima komponens */
|
||||||
ComponentResult ComponentDummy(
|
ComponentResult ComponentDummy(
|
||||||
ComponentParameters *params,
|
ComponentParameters *params,
|
||||||
void **globals,
|
void **globals,
|
||||||
DEF_DISPATCHER(ComponentDispatch))
|
ComponentResult (*ComponentDispatch)(ComponentParameters *, void **))
|
||||||
{
|
{
|
||||||
printf("ComponentDummy(params: %p, globals: %p, dispatcher: %p) called!\n",
|
printf("ComponentDummy(params: %p, globals: %p, dispatcher: %p) called!\n",
|
||||||
params, globals, ComponentDispatch);
|
params, globals, ComponentDispatch);
|
||||||
|
Loading…
Reference in New Issue
Block a user