summaryrefslogtreecommitdiff
path: root/libtiff/tif_config.vc.h
blob: e2f009d7f2a099ae049a32928cbfd66bdf1e6998 (plain)
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
#ifndef _TIF_CONFIG_H_
#define _TIF_CONFIG_H_

/* Define to 1 if you have the <assert.h> header file. */
#define HAVE_ASSERT_H 1

/* Define to 1 if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_H 1

/* Define as 0 or 1 according to the floating point format supported by the
   machine */
#define HAVE_IEEEFP 1

/* Define to 1 if you have the `jbg_newlen' function. */
#define HAVE_JBG_NEWLEN 1

/* Define to 1 if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1

/* Define to 1 if you have the <io.h> header file. */
#define HAVE_IO_H 1

/* Define to 1 if you have the `setmode' function. */
#define HAVE_SETMODE 1

/* Define to 1 if you have the declaration of `optarg', and to 0 if you don't. */
#define HAVE_DECL_OPTARG 0

#if _WIN64
/*
  Windows 64-bit build
*/

/* The size of `size_t', as computed by sizeof. */
#  define SIZEOF_SIZE_T 8

/* Signed size type formatter */
#  define TIFF_SSIZE_FORMAT PRId64

/* Signed size type */
#  define TIFF_SSIZE_T int64_t

#else
/*
  Windows 32-bit build
*/

/* The size of `size_t', as computed by sizeof. */
#  define SIZEOF_SIZE_T 4

/* Signed size type formatter */
#  define TIFF_SSIZE_FORMAT PRId32

/* Signed size type */
#  define TIFF_SSIZE_T int32_t

#endif

/* Set the native cpu bit order */
#define HOST_FILLORDER FILLORDER_LSB2MSB

/*
  Please see associated settings in "nmake.opt" which configure porting
  settings. It should not be necessary to edit the following pre-processor
  logic.
*/
#if defined(_MSC_VER)
/* Visual Studio 2015 / VC 14 / MSVC 19.00 finally has snprintf() */
#  if _MSC_VER < 1900 /* Visual C++ 2015 */
#    define snprintf _snprintf
#  else
#    define HAVE_SNPRINTF 1
#  endif
#  define HAVE_STRTOL 1
#  define HAVE_STRTOUL 1
#  if _MSC_VER >= 1900 /* Visual Studio 2015 added strtoll/strtoull */
#    define HAVE_STRTOLL 1
#    define HAVE_STRTOULL 1
#  endif
#endif

/* Define to 1 if your processor stores words with the most significant byte
   first (like Motorola and SPARC, unlike Intel and VAX). */
/* #undef WORDS_BIGENDIAN */

#define lfind _lfind

#pragma warning(disable : 4996) /* function deprecation warnings */

#endif /* _TIF_CONFIG_H_ */
/*
 * Local Variables:
 * mode: c
 * c-basic-offset: 8
 * fill-column: 78
 * End:
 */