diff options
Diffstat (limited to 'wrapper/XvMCWrapper.c')
-rw-r--r-- | wrapper/XvMCWrapper.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/wrapper/XvMCWrapper.c b/wrapper/XvMCWrapper.c index bff5a8b..9bdf033 100644 --- a/wrapper/XvMCWrapper.c +++ b/wrapper/XvMCWrapper.c @@ -178,15 +178,15 @@ static void *handle2; #define XW_RSYM(base,handle,handle2,pointer, retval) \ do { \ - register char *err; \ + register char *symerr; \ base.pointer = (pointer##P) dlsym((handle),#pointer); \ - if ((err = dlerror()) != NULL) { \ + if ((symerr = dlerror()) != NULL) { \ if (!handle2) { \ - fprintf(stderr,"%s\n",err); return retval; \ + fprintf(stderr,"%s\n",symerr); return retval; \ } \ base.pointer = (pointer##P) dlsym((handle2),#pointer); \ - if ((err = dlerror()) != NULL) { \ - fprintf(stderr,"%s\n",err); return retval; \ + if ((symerr = dlerror()) != NULL) { \ + fprintf(stderr,"%s\n",symerr); return retval; \ } \ } \ } while (0); |