Changeset 11918 in webkit for trunk/JavaScriptCore/pcre/pcre.h


Ignore:
Timestamp:
Jan 6, 2006, 2:43:44 PM (19 years ago)
Author:
hyatt
Message:

Land all the changes to make JSCore build again on windows.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/pcre/pcre.h

    r10495 r11918  
    7070
    7171#define PCRE_UTF16          1
    72 
    73 /* Win32 uses DLL by default; it needs special stuff for exported functions. */
    74 
    75 #ifdef _WIN32
    76 #  ifdef PCRE_DEFINITION
    77 #    ifdef DLL_EXPORT
    78 #      define PCRE_DATA_SCOPE __declspec(dllexport)
    79 #    endif
    80 #  else
    81 #    ifndef PCRE_STATIC
    82 #      define PCRE_DATA_SCOPE extern __declspec(dllimport)
    83 #    endif
    84 #  endif
    85 #endif
    8672
    8773/* For other operating systems, we use the standard "extern". */
Note: See TracChangeset for help on using the changeset viewer.