mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-06-06 22:23:16 +03:00
Adjust C preprocessor block labels
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
This commit is contained in:
parent
724f266460
commit
f6b516bb06
|
@ -37,7 +37,7 @@
|
||||||
#undef WIN32
|
#undef WIN32
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#else /* WIN */
|
#else /* not WIN */
|
||||||
/* For System that are not Windows, we'll need to define these. */
|
/* For System that are not Windows, we'll need to define these. */
|
||||||
/* We have to define them instead of using typedef because the JPEG lib also
|
/* We have to define them instead of using typedef because the JPEG lib also
|
||||||
defines their own types with the same names, so we need to be able to undef
|
defines their own types with the same names, so we need to be able to undef
|
||||||
|
@ -58,7 +58,7 @@
|
||||||
#define UINT64 uint64_t
|
#define UINT64 uint64_t
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#else /* C99+ */
|
#else /* < C99 */
|
||||||
|
|
||||||
#define INT8 signed char
|
#define INT8 signed char
|
||||||
|
|
||||||
|
@ -95,9 +95,9 @@
|
||||||
#define UINT64 unsigned INT64
|
#define UINT64 unsigned INT64
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* C99+ */
|
#endif /* < C99 */
|
||||||
|
|
||||||
#endif /* WIN */
|
#endif /* not WIN */
|
||||||
|
|
||||||
/* assume IEEE; tweak if necessary (patches are welcome) */
|
/* assume IEEE; tweak if necessary (patches are welcome) */
|
||||||
#define FLOAT16 UINT16
|
#define FLOAT16 UINT16
|
||||||
|
|
Loading…
Reference in New Issue
Block a user