From f9a250d60e621b63cc77d432f42ae700ff3e249b Mon Sep 17 00:00:00 2001 From: "SND\\MaddTheSane_cp" Date: Sun, 3 Mar 2013 00:15:09 +0000 Subject: Make OS X's localization implementation functions match the signature of gettext. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@83305 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- plugins/dfinput/pad.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/dfinput') diff --git a/plugins/dfinput/pad.h b/plugins/dfinput/pad.h index 5e66f9ae..3249f6b3 100755 --- a/plugins/dfinput/pad.h +++ b/plugins/dfinput/pad.h @@ -61,7 +61,7 @@ typedef void *Display; //If running under Mac OS X, use the Localizable.strings file instead. #elif defined(_MACOSX) #ifdef PCSXRCORE -extern const char* Pcsxr_locale_text(char* toloc); +extern char* Pcsxr_locale_text(char* toloc); #define _(String) Pcsxr_locale_text(String) #define N_(String) String #else @@ -74,7 +74,7 @@ extern const char* Pcsxr_locale_text(char* toloc); #define PLUGLOC_x(x,y) x ## y #define PLUGLOC_y(x,y) PLUGLOC_x(x,y) #define PLUGLOC PLUGLOC_y(PCSXRPLUG,_locale_text) -extern const char* PLUGLOC(char* toloc); +extern char* PLUGLOC(char* toloc); #define _(String) PLUGLOC(String) #define N_(String) String #endif -- cgit v1.2.3