summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/util')
-rw-r--r--src/util/error.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util/error.c b/src/util/error.c
index 61c6136..97c7502 100644
--- a/src/util/error.c
+++ b/src/util/error.c
@@ -22,6 +22,7 @@ char *nn_strerror(s32 errnum)
// https://stackoverflow.com/a/46104456
char *nn_win32_error_message(s32 err)
{
+ /*
DWORD ret = FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS,
NULL,
err,
@@ -30,5 +31,7 @@ char *nn_win32_error_message(s32 err)
NNWT_ERROR_STR_MAXLEN,
NULL);
return !ret ? NULL : errorbuf;
+ */
+ return NULL;
}
#endif