summaryrefslogtreecommitdiff
path: root/libpcsxcore
diff options
context:
space:
mode:
authorSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-03-03 00:15:09 +0000
committerSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-03-03 00:15:09 +0000
commitf9a250d60e621b63cc77d432f42ae700ff3e249b (patch)
tree44cdcb369bb0e6b1b5b6c0055c9c60d7f06e9bfa /libpcsxcore
parent585bb1ecb49bda5c3ec1112df67474922c2cc04e (diff)
downloadpcsxr-f9a250d60e621b63cc77d432f42ae700ff3e249b.tar.gz
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
Diffstat (limited to 'libpcsxcore')
-rwxr-xr-xlibpcsxcore/psxcommon.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpcsxcore/psxcommon.h b/libpcsxcore/psxcommon.h
index 92110d80..644d3b37 100755
--- a/libpcsxcore/psxcommon.h
+++ b/libpcsxcore/psxcommon.h
@@ -92,7 +92,7 @@ typedef uint8_t boolean;
//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
@@ -105,7 +105,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