filename | src/main.c |
changeset | 866:86cd01c2b2d3 |
prev | 772:c0b5928dd600 |
next | 968:6fb1481859a4 |
author | nkeynes |
date | Tue Jan 06 01:58:08 2009 +0000 (15 years ago) |
branch | lxdream-mem |
permissions | -rw-r--r-- |
last change | Fully integrate SQ with the new address space code - added additional 'prefetch' memory accessor. TLB is utterly untested, but non-TLB at least still works. |
file | annotate | diff | log | raw |
1.1 --- a/src/main.c Mon Jul 28 04:45:24 2008 +00001.2 +++ b/src/main.c Tue Jan 06 01:58:08 2009 +00001.3 @@ -35,9 +35,6 @@1.4 #include "maple/maple.h"1.5 #include "sh4/sh4.h"1.7 -#ifdef APPLE_BUILD1.8 -#include <AppKit/AppKit.h>1.9 -#endif1.11 char *option_list = "a:A:c:dhHl:m:npt:T:uvV:x?";1.12 struct option longopts[] = {1.13 @@ -98,19 +95,8 @@1.14 void bind_gettext_domain()1.15 {1.16 #ifdef ENABLE_NLS1.17 -#ifdef APPLE_BUILD1.18 - NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];1.19 - NSString *resourcePath = [[NSBundle mainBundle] resourcePath];1.20 - bindtextdomain( PACKAGE, [resourcePath UTF8String] );1.21 -#ifdef HAVE_BIND_TEXTDOMAIN_CODESET1.22 - bind_textdomain_codeset( PACKAGE, "UTF-8" );1.23 -#endif1.24 - [pool release];1.25 -#else1.26 - bindtextdomain (PACKAGE, PACKAGE_LOCALE_DIR);1.27 -#endif1.28 + bindtextdomain( PACKAGE, get_locale_path() );1.29 textdomain(PACKAGE);1.30 -1.31 #endif1.32 }
.