Ticket #14602: qlibrary_unix.cpp.diff

File qlibrary_unix.cpp.diff, 790 bytes (added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), 16 years ago)
  • src/corelib/plugin/qlibrary_unix.cpp

    old new  
    4343
    4444#ifndef QT_NO_LIBRARY
    4545
    46 #ifdef Q_OS_MAC
     46#ifdef Q_WS_MAC
    4747#  include <private/qcore_mac_p.h>
    4848#endif
    4949
     
    190190            pHnd = dlopen(QFile::encodeName(attempt), dlFlags);
    191191        }
    192192    }
    193 #ifdef Q_OS_MAC
     193#ifdef Q_WS_MAC
    194194    if (!pHnd) {
    195195        if (CFBundleRef bundle = CFBundleGetBundleWithIdentifier(QCFString(fileName))) {
    196196            QCFType<CFURLRef> url = CFBundleCopyExecutableURL(bundle);
     
    220220    return true;
    221221}
    222222
    223 #ifdef Q_OS_MAC
     223#ifdef Q_WS_MAC
    224224Q_CORE_EXPORT void *qt_mac_resolve_sys(void *handle, const char *symbol)
    225225{
    226226    return dlsym(handle, symbol);