We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c4d064 commit bc385d6Copy full SHA for bc385d6
LibTiff/binding.gyp
@@ -30,6 +30,11 @@
30
"defines": [
31
'HAVE_UNISTD_H=1'
32
]
33
+ }],
34
+ ['target_arch == "ia32"', {
35
+ "defines": [
36
+ 'SIZEOF_SIZE_T=4'
37
+ ]
38
}]
39
],
40
'include_dirs': [
LibTiff/tif_config.h
@@ -45,8 +45,10 @@
45
/* Define to the home page for this package. */
46
#define PACKAGE_URL ""
47
48
-/* Size of size_t */
+/* Size of size_t, allowing external override */
49
+#ifndef SIZEOF_SIZE_T
50
#define SIZEOF_SIZE_T 8
51
+#endif
52
53
54
/** Maximum number of TIFF IFDs that libtiff can iterate through in a file. */
0 commit comments