Changeset 58494 in webkit


Ignore:
Timestamp:
Apr 29, 2010 3:25:16 AM (14 years ago)
Author:
eric@webkit.org
Message:

2010-04-29 Laszlo Gombos <Laszlo Gombos>

Reviewed by Simon Hausmann.

[Qt] Refactor qtscriptglobal.h
https://bugs.webkit.org/show_bug.cgi?id=37953

Use the same pattern in qtscriptglobal.h as in
qwebkitglobal.h without checking for specific OSs.

  • qt/api/qtscriptglobal.h:
Location:
trunk/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r58483 r58494  
     12010-04-29  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
     2
     3        Reviewed by Simon Hausmann.
     4
     5        [Qt] Refactor qtscriptglobal.h
     6        https://bugs.webkit.org/show_bug.cgi?id=37953
     7
     8        Use the same pattern in qtscriptglobal.h as in
     9        qwebkitglobal.h without checking for specific OSs.
     10
     11        * qt/api/qtscriptglobal.h:
     12
    1132010-04-29  Jedrzej Nowacki  <jedrzej.nowacki@nokia.com>
    214
  • trunk/JavaScriptCore/qt/api/qtscriptglobal.h

    r53850 r58494  
    2323#include <QtCore/qglobal.h>
    2424
    25 #if defined(Q_OS_WIN) || defined(Q_OS_SYMBIAN)
    26 #  if defined(QT_NODLL)
    27 #  elif defined(QT_MAKEDLL)        /* create a Qt DLL library */
    28 #    if defined(QT_BUILD_JAVASCRIPT_LIB)
    29 #      define Q_JAVASCRIPT_EXPORT Q_DECL_EXPORT
    30 #    else
    31 #      define Q_JAVASCRIPT_EXPORT Q_DECL_IMPORT
    32 #    endif
    33 #  elif defined(QT_DLL) /* use a Qt DLL library */
     25#if defined(QT_MAKEDLL)        /* create a Qt DLL library */
     26#  if defined(QT_BUILD_JAVASCRIPT_LIB)
     27#    define Q_JAVASCRIPT_EXPORT Q_DECL_EXPORT
     28#  else
     29#    define Q_JAVASCRIPT_EXPORT Q_DECL_IMPORT
     30#  endif
     31#elif defined(QT_DLL) /* use a Qt DLL library */
     32#  define Q_JAVASCRIPT_EXPORT
     33#endif
     34
     35#if !defined(Q_JAVASCRIPT_EXPORT)
     36#  if defined(QT_SHARED)
     37#    define Q_JAVASCRIPT_EXPORT Q_DECL_EXPORT
     38#  else
    3439#    define Q_JAVASCRIPT_EXPORT
    3540#  endif
    3641#endif
    3742
    38 #if defined(QT_SHARED)
    39 #  define Q_JAVASCRIPT_EXPORT Q_DECL_EXPORT
    40 #else
    41 #  define Q_JAVASCRIPT_EXPORT
    4243#endif
    43 
    44 #endif
Note: See TracChangeset for help on using the changeset viewer.