diff options
author | Marti Maria <marti.maria@littlecms.com> | 2022-08-25 09:59:00 +0200 |
---|---|---|
committer | Marti Maria <marti.maria@littlecms.com> | 2022-08-25 09:59:00 +0200 |
commit | 89b5f465e5e47d43209b09e4b577b6f09d597cc1 (patch) | |
tree | 79c6719a277e082f5253b2014aa52651f9a7ba97 | |
parent | 1ad1b59b69bb12f93bedf412bd595f4cca69d1f0 (diff) | |
download | lcms2-89b5f465e5e47d43209b09e4b577b6f09d597cc1.tar.gz |
Remove check on DLL when CMS_NO_REGISTER_KEYWORD is used
That was originally intended to prevent building DLLs with different ABI, but since you can actually build .so on linux with this flaw, makes no sense to check only one platform.
I would rather left the decision to developers. You are free to create a .so or DLL with incompatible parameter passing if you use CMS_NO_REGISTER_KEYWORD , it is up to you to check consistency.
-rw-r--r-- | include/lcms2.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/lcms2.h b/include/lcms2.h index dca4f64..c72135a 100644 --- a/include/lcms2.h +++ b/include/lcms2.h @@ -152,7 +152,7 @@ typedef double cmsFloat64Number; #endif // Handle "register" keyword -#if defined(CMS_NO_REGISTER_KEYWORD) && !defined(CMS_DLL) && !defined(CMS_DLL_BUILD) +#if defined(CMS_NO_REGISTER_KEYWORD) # define CMSREGISTER #else # define CMSREGISTER register |