Skip to content

Commit

Permalink
Suppress Microsoft warnings about unsafe and deprecated POSIX functions
Browse files Browse the repository at this point in the history
  • Loading branch information
rapperskull committed Mar 4, 2023
1 parent ed8057e commit eee30c5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions extract-xiso.c
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,9 @@
#define _GNU_SOURCE
#endif

#if defined(_MSC_VER)
#pragma warning(disable : 4996) // Unsafe and deprecated POSIX functions warning
#endif

#include <time.h>
#include <errno.h>
Expand Down

0 comments on commit eee30c5

Please sign in to comment.