File: tconf.h

package info (click to toggle)
vtk 5.8.0-13
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 130,524 kB
  • sloc: cpp: 1,129,256; ansic: 708,203; tcl: 48,526; python: 20,875; xml: 6,779; yacc: 4,208; perl: 3,121; java: 2,788; lex: 931; sh: 660; asm: 471; makefile: 299
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