summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textscreen/txt_fileselect.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/textscreen/txt_fileselect.c b/textscreen/txt_fileselect.c
index c6d6d246..0ef404b4 100644
--- a/textscreen/txt_fileselect.c
+++ b/textscreen/txt_fileselect.c
@@ -150,7 +150,19 @@ static char *ExecReadOutput(char **argv)
// TXT_UpdateScreen can be run in the background).
// * On Windows XP the program exits/crashes when the dialog is
// closed.
-#if defined(xxxdisabled_WIN32)
+#if defined(_WIN32)
+
+int TXT_CanSelectFiles(void)
+{
+ return 0;
+}
+
+char *TXT_SelectFile(char *window_title, char **extensions)
+{
+ return NULL;
+}
+
+#elif defined(xxxdisabled_WIN32)
// Windows code. Use comdlg32 to pop up a dialog box.