aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2020-08-12 17:40:00 -0700
committerChris Robinson <[email protected]>2020-08-12 17:40:00 -0700
commitfd52c828a9c4f4bb7ed3a4dcfe4a5b4ed5664246 (patch)
tree622b82e411c1b27a520ac1234b4baf39d0dd909f /examples
parent476e9d7522bef4de85dab2113e9cba85007e2e2a (diff)
Improve handling main() with UTF-8 args on Windows
Diffstat (limited to 'examples')
-rw-r--r--examples/alrecord.c2
-rw-r--r--examples/altonegen.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/examples/alrecord.c b/examples/alrecord.c
index a66e5471..0e81eb76 100644
--- a/examples/alrecord.c
+++ b/examples/alrecord.c
@@ -35,6 +35,8 @@
#include "common/alhelpers.h"
+#include "win_main_utf8.h"
+
#if defined(_WIN64)
#define SZFMT "%I64u"
diff --git a/examples/altonegen.c b/examples/altonegen.c
index 553bc996..a09cbdf8 100644
--- a/examples/altonegen.c
+++ b/examples/altonegen.c
@@ -44,6 +44,8 @@
#include "common/alhelpers.h"
+#include "win_main_utf8.h"
+
#ifndef M_PI
#define M_PI (3.14159265358979323846)
#endif