Changeset 421 for trunk/src


Ignore:
Timestamp:
Dec 11, 2009, 7:15:30 PM (16 years ago)
Author:
Dmitry A. Kuminov
Message:

Fixed bootstrab.lib build (another r419 QString regression).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/corelib/tools/qstring.cpp

    r420 r421  
    45764576    }
    45774577#elif defined(Q_OS_OS2) && !defined(QT_NO_TEXTCODEC)
     4578#if !defined(QT_NO_THREAD)
    45784579    static QAtomicPointer<void> localeObj;
    45794580    if (!localeObj) {
     
    45834584            UniFreeLocaleObject(lo); // we are too late
    45844585    }
     4586#else
     4587    static LocaleObject localeObj = 0;
     4588    if (!localeObj)
     4589        UniCreateLocaleObject(UNI_UCS_STRING_POINTER, (UniChar *)L"", &localeObj);
     4590#endif
    45854591    if (localeObj) {
    45864592        // note: we assume that data1 and data2 are zero-terminated (to avoid
Note: See TracChangeset for help on using the changeset viewer.