Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

conf: setup to allow building libtiff to support ia32 envs in node #285

Merged
merged 1 commit into from
Sep 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions LibTiff/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@
"defines": [
'HAVE_UNISTD_H=1'
]
}],
['target_arch == "ia32"', {
"defines": [
'SIZEOF_SIZE_T=4'
]
}]
],
'include_dirs': [
Expand Down
4 changes: 3 additions & 1 deletion LibTiff/tif_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,10 @@
/* Define to the home page for this package. */
#define PACKAGE_URL ""

/* Size of size_t */
/* Size of size_t, allowing external override */
#ifndef SIZEOF_SIZE_T
#define SIZEOF_SIZE_T 8
#endif


/** Maximum number of TIFF IFDs that libtiff can iterate through in a file. */
Expand Down
Loading