Changeset 27


Ignore:
Timestamp:
Sep 5, 2006, 11:14:44 PM (18 years ago)
Author:
dmik
Message:

QCA: General: Added OS/2-related defines to make it compile.

Location:
qca/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • qca/trunk/qca.pro

    r24 r27  
    1313
    1414# make DLL
    15 win32:{
     15win32: {
     16        CONFIG += dll
     17        DEFINES += QCA_MAKEDLL
     18}
     19os2: {
    1620        CONFIG += dll
    1721        DEFINES += QCA_MAKEDLL
  • qca/trunk/src/qca.cpp

    r24 r27  
    3333#include"qcaprovider.h"
    3434
    35 #if defined(Q_OS_WIN32)
     35#if defined(Q_OS_WIN32) || defined(Q_OS_OS2)
    3636#define PLUGIN_EXT "dll"
    3737#elif defined(Q_OS_MAC)
  • qca/trunk/src/qca.h

    r24 r27  
    4242#endif
    4343
    44 #ifdef Q_OS_WIN32
     44#if defined(Q_OS_WIN32)
    4545#  ifdef QCA_PLUGIN_DLL
    4646#    define QCA_PLUGIN_EXPORT extern "C" __declspec(dllexport)
     
    4848#    define QCA_PLUGIN_EXPORT extern "C" __declspec(dllimport)
    4949#  endif
     50#elif defined(Q_OS_OS2)
     51#  define QCA_PLUGIN_EXPORT extern "C" _System
    5052#endif
    5153#ifndef QCA_PLUGIN_EXPORT
Note: See TracChangeset for help on using the changeset viewer.