discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(mingw): bug in [NSObject initialize]


From: Michael Scheibler
Subject: (mingw): bug in [NSObject initialize]
Date: Thu, 3 May 2001 09:33:43 +0200

now (wrong):

  if (self == [NSObject class])
    {
      extern void  GSBuildStrings();        // See externs.m
      extern const char* GSSetLocaleC();    // See GSLocale.m

      GSSetLocaleC("");  // Set up locale from environment.

#ifdef __MINGW__
      // See libgnustep-base-entry.m
      extern void gnustep_base_socket_init(); 
      gnustep_base_socket_init(); 
#endif



should be something like:

  if (self == [NSObject class])
    {
      extern void  GSBuildStrings();                    // See externs.m
      extern const char* GSSetLocaleC(const char *loc); // See GSLocale.m

#ifdef __MINGW__
      // See libgnustep-base-entry.m
      extern void gnustep_base_socket_init(); 
      gnustep_base_socket_init(); 
#endif

      GSSetLocaleC("");  // Set up locale from environment.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]