Skip to content

Commit

Permalink
fix WIN32 macro
Browse files Browse the repository at this point in the history
MinGW implements the _ version.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
  • Loading branch information
neheb committed Jan 27, 2023
1 parent fe327e1 commit b36af62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xmpsdk/include/XMP_Environment.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
# define _WIN64 1
#endif

#if defined WIN32
#if defined _WIN32
# define WIN_ENV 1
/* Todo: How to correctly recognize a Mac platform? */
#elif defined macintosh || defined MACOS_CLASSIC || defined MACOS_X_UNIX || defined MACOS_X || defined MACOS || defined(__APPLE__)
Expand Down

0 comments on commit b36af62

Please sign in to comment.