File: tconf.h

package info (click to toggle)
vtk6 6.1.0%2Bdfsg2-6
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 165,164 kB
  • ctags: 226,428
  • sloc: cpp: 1,354,490; ansic: 730,748; python: 227,134; tcl: 48,285; xml: 8,290; yacc: 4,832; java: 3,827; perl: 3,108; lex: 1,809; sh: 1,437; asm: 471; makefile: 229
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