[MPlayer-cvslog] r25617 - trunk/loader/qtx/qtxload.c

diego subversion at mplayerhq.hu
Sun Jan 6 12:53:51 CET 2008


Author: diego
Date: Sun Jan  6 12:53:51 2008
New Revision: 25617

Log:
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


Modified:
   trunk/loader/qtx/qtxload.c

Modified: trunk/loader/qtx/qtxload.c
==============================================================================
--- trunk/loader/qtx/qtxload.c	(original)
+++ trunk/loader/qtx/qtxload.c	Sun Jan  6 12:53:51 2008
@@ -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);



More information about the MPlayer-cvslog mailing list