aboutsummaryrefslogtreecommitdiff
path: root/src/lutris.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lutris.c')
-rw-r--r--src/lutris.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/lutris.c b/src/lutris.c
index d885ae8..e2903ee 100644
--- a/src/lutris.c
+++ b/src/lutris.c
@@ -218,9 +218,7 @@ COMMAND(lutris, install)
case TASK:
parseVar(&installer.directives[i]->arguments[0], installer.variables, installer.variablecount);
- #ifdef _WIN32
- #warning TODO
- #else
+ #ifndef _WIN32 // TODO
setenv("WINEPREFIX", installer.directives[i]->arguments[0], 1);
#endif
switch(installer.directives[i]->task)
@@ -235,15 +233,11 @@ COMMAND(lutris, install)
case CREATE_PREFIX:
printf("CREATE_PREFIX\n");
- #ifdef _WIN32
- #warning TODO
- #else
+ #ifndef _WIN32 // TODO
setenv("WINEDEBUG", "-all", 1);
#endif
system("wineboot");
- #ifdef _WIN32
- #warning TODO
- #else
+ #ifndef _WIN32 // TODO
unsetenv("WINEDEBUG");
#endif
break;