diff options
| author | Oskari Timperi <oskari.timperi@iki.fi> | 2015-09-18 19:26:09 +0300 |
|---|---|---|
| committer | Oskari Timperi <oskari.timperi@iki.fi> | 2015-09-18 19:26:09 +0300 |
| commit | 8d7c62da8e05c177e3f79e2fd3ea0ade7ca1acb4 (patch) | |
| tree | ca74819e574fc32eb3c95ac2a6975d477026730e /main.c | |
| parent | 0996ffcd61bb03d820dac88ad42539dc1ab8c5e7 (diff) | |
| download | diceware-8d7c62da8e05c177e3f79e2fd3ea0ade7ca1acb4.tar.gz diceware-8d7c62da8e05c177e3f79e2fd3ea0ade7ca1acb4.zip | |
windows: do console output using WriteConsole
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -6,6 +6,10 @@ #include <errno.h> #include <string.h> +#ifdef _WIN32 +#include "winconsole.h" +#endif + /* Generates a random id of length `size-1` consisting of characters in the set [1-6] and places it in the buffer pointed to by `id`. The buffer is NULL |
