mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-12 18:26:17 +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
|
||||
#endif
|
||||
|
||||
#else /* WIN */
|
||||
#else /* not WIN */
|
||||
/* 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
|
||||
defines their own types with the same names, so we need to be able to undef
|
||||
|
@ -58,7 +58,7 @@
|
|||
#define UINT64 uint64_t
|
||||
#endif
|
||||
|
||||
#else /* C99+ */
|
||||
#else /* < C99 */
|
||||
|
||||
#define INT8 signed char
|
||||
|
||||
|
@ -95,9 +95,9 @@
|
|||
#define UINT64 unsigned INT64
|
||||
#endif
|
||||
|
||||
#endif /* C99+ */
|
||||
#endif /* < C99 */
|
||||
|
||||
#endif /* WIN */
|
||||
#endif /* not WIN */
|
||||
|
||||
/* assume IEEE; tweak if necessary (patches are welcome) */
|
||||
#define FLOAT16 UINT16
|
||||
|
|
Loading…
Reference in New Issue
Block a user