foxygit / doom Log in
commit ead4a7a8bd40d4a5ff65e078956678da0d227f12
Author:     Simon Howard <fraggle@gmail.com>
AuthorDate: Sun Oct 20 20:37:48 2013 +0000
Commit:     Simon Howard <fraggle@gmail.com>
CommitDate: Sun Oct 20 20:37:48 2013 +0000

    Oops.

    Subversion-branch: /branches/v2-branch
    Subversion-revision: 2717
---
 textscreen/txt_fileselect.c | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

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.