Skip to content

Commit

Permalink
Adjust C preprocessor block labels
Browse files Browse the repository at this point in the history
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
  • Loading branch information
Yay295 and hugovk committed May 19, 2023
1 parent 724f266 commit f6b516b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/libImaging/ImPlatform.h
Expand Up @@ -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
Expand All @@ -58,7 +58,7 @@
#define UINT64 uint64_t
#endif

#else /* C99+ */
#else /* < C99 */

#define INT8 signed char

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f6b516b

Please sign in to comment.