Skip to content

Commit

Permalink
Merge pull request #1585 from ruby/sync-defines
Browse files Browse the repository at this point in the history
Suppress macro redefinition warnings
  • Loading branch information
jemmaissroff authored Sep 22, 2023
2 parents 5dedd62 + 69eb4f5 commit 0afa74b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/yarp/defines.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
#endif

// Windows versions before 2015 use _snprintf
#if defined(_MSC_VER) && (_MSC_VER < 1900)
#if !defined(snprintf) && defined(_MSC_VER) && (_MSC_VER < 1900)
# define snprintf _snprintf
#endif

Expand Down

0 comments on commit 0afa74b

Please sign in to comment.