mirror of
https://github.com/mpv-player/mpv
synced 2025-01-19 22:01:10 +00: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/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);
|
||||
|
Loading…
Reference in New Issue
Block a user