Skip to content

Commit

Permalink
Fix warning/error on msvc
Browse files Browse the repository at this point in the history
  • Loading branch information
nyorain committed Aug 23, 2020
1 parent 9095978 commit a489761
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/dlg/dlg.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
#define _POSIX_C_SOURCE 200809L
#define _WIN32_WINNT 0x0600

// Needed on windows so that we can use sprintf without warning.
#define _CRT_SECURE_NO_WARNINGS

#include <dlg/output.h>
#include <dlg/dlg.h>
#include <wchar.h>
Expand Down

0 comments on commit a489761

Please sign in to comment.