diff options
Diffstat (limited to 'src/video_out/video_out_opengl.c')
-rw-r--r-- | src/video_out/video_out_opengl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_out/video_out_opengl.c b/src/video_out/video_out_opengl.c index 2028cd999..5d8b60651 100644 --- a/src/video_out/video_out_opengl.c +++ b/src/video_out/video_out_opengl.c @@ -705,7 +705,7 @@ static void *getdladdr (const GLubyte *_funcName) { #elif defined(__APPLE__) char *temp; - asprintf(&temp, "_%s", funcName); + temp = _x_asprintf("_%s", funcName); void *res = NULL; if (NSIsSymbolNameDefined (temp)) { NSSymbol symbol = NSLookupAndBindSymbol (temp); |