File: tconf.h

package info (click to toggle)
vtk 5.0.2-4
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 51,080 kB
  • ctags: 67,442
  • sloc: cpp: 522,627; ansic: 221,292; tcl: 43,377; python: 14,072; perl: 3,102; java: 1,436; yacc: 1,033; sh: 469; lex: 248; makefile: 181; asm: 154
file content (59 lines) | stat: -rw-r--r-- 1,294 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#include <vtktiff/tiffDllConfig.h>

/* Compile with -DTIFFDLL for Windows DLL support */
#if (defined(_WIN32) || defined(__WIN32__)) && !defined(WIN32)
#  define WIN32
#endif
#if defined(__GNUC__) || defined(WIN32) || defined(__386__) || defined(i386)
#  ifndef __32BIT__
#    define __32BIT__
#  endif
#endif
#if defined(__MSDOS__) && !defined(MSDOS)
#  define MSDOS
#endif

#if defined(TIFFDLL)
#  if defined(_WINDOWS) || defined(WINDOWS)
#    ifdef FAR
#      undef FAR
#    endif
#    include <windows.h>
#    define TEXPORT  WINAPI
#    ifdef WIN32
#      define TEXPORTVA  WINAPIV
#    else
#      define TEXPORTVA  FAR _cdecl _export
#    endif
#  endif
#  if defined (__BORLANDC__)
#    if (__BORLANDC__ >= 0x0500) && defined (WIN32)
#      include <windows.h>
/*
#      define TEXPORT __declspec(dllexport) WINAPI
#      define TEXPORTRVA __declspec(dllexport) WINAPIV
*/
#      define TEXPORT _cdecl _export
#      define TEXPORTRVA _cdecl _export
#    else
#      if defined (_Windows) && defined (__DLL__)
#        define TEXPORT _export
#        define TEXPORTVA _export
#      endif
#    endif
#  endif
#endif
#ifndef TEXPORT
#  define TEXPORT
#endif
#ifndef TEXPORTVA
#  define TEXPORTVA
#endif
#ifndef TEXTERN
#  define TEXTERN extern
#endif

#ifndef FAR
#   define FAR
#endif