From 79b3a337c96fc76ce7f6bb731ffe680070c0c4b0 Mon Sep 17 00:00:00 2001 From: punkrockguy318 Date: Fri, 21 Oct 2011 01:05:17 +0000 Subject: [PATCH] sdl: attempt to resolve ubuntu compile error --- src/file.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/file.cpp b/src/file.cpp index cae00960..41bb6b82 100644 --- a/src/file.cpp +++ b/src/file.cpp @@ -460,6 +460,7 @@ void FCEUI_SetDirOverride(int which, char *n) } } + #ifndef asprintf #ifndef HAVE_ASPRINTF static int asprintf(char **strp, const char *fmt, ...) { @@ -474,6 +475,7 @@ void FCEUI_SetDirOverride(int which, char *n) return(ret); } #endif + #endif std::string FCEU_GetPath(int type) {