~oif-team/ubuntu/natty/qt4-x11/xi2.1

« back to all changes in this revision

Viewing changes to src/3rdparty/webkit/JavaScriptCore/config.h

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2009-11-02 18:30:08 UTC
  • mfrom: (1.2.2 upstream)
  • mto: (15.2.5 experimental)
  • mto: This revision was merged to the branch mainline in revision 88.
  • Revision ID: james.westby@ubuntu.com-20091102183008-b6a4gcs128mvfb3m
Tags: upstream-4.6.0~beta1
ImportĀ upstreamĀ versionĀ 4.6.0~beta1

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 
26
26
#include <wtf/Platform.h>
27
27
 
 
28
#if PLATFORM(WIN_OS) && !defined(BUILDING_WX__) && !COMPILER(GCC)
 
29
#if defined(BUILDING_JavaScriptCore) || defined(BUILDING_WTF)
 
30
#define JS_EXPORTDATA __declspec(dllexport)
 
31
#else
 
32
#define JS_EXPORTDATA __declspec(dllimport)
 
33
#endif
 
34
#else
 
35
#define JS_EXPORTDATA
 
36
#endif
 
37
 
28
38
#if PLATFORM(WIN_OS)
29
39
 
30
40
// If we don't define these, they get defined in windef.h. 
32
42
#define max max
33
43
#define min min
34
44
 
35
 
#if !COMPILER(MSVC7) && !PLATFORM(WIN_CE)
 
45
#if !COMPILER(MSVC7) && !PLATFORM(WINCE)
36
46
// We need to define this before the first #include of stdlib.h or it won't contain rand_s.
37
47
#ifndef _CRT_RAND_S
38
48
#define _CRT_RAND_S