# HG changeset patch # User diego # Date 1199620431 0 # Node ID 276d47411414e85f562c3ac928b2a77f507c36e9 # Parent 0f344d22ee48f5ca556f6dab69b23583605cb270 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 diff -r 0f344d22ee48 -r 276d47411414 loader/qtx/qtxload.c --- 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);