brewpanel/brewpanel.c

changeset 410
e3f8a51b566a
parent 409
cdf68044adaf
child 425
c51265b518ce
equal deleted inserted replaced
409:cdf68044adaf 410:e3f8a51b566a
22 22
23 #include "brewpanel.h" 23 #include "brewpanel.h"
24 #include "sdlgui.h" 24 #include "sdlgui.h"
25 #include "dlgBrew.h" 25 #include "dlgBrew.h"
26 26
27 #ifdef HAVE_SDL_SDL_H
27 28
28 int DebugPanel = FALSE; /* Logfile debugging */ 29 int DebugPanel = FALSE; /* Logfile debugging */
29 int debug = FALSE; /* Console debugging */ 30 int debug = FALSE; /* Console debugging */
30 int my_shutdown = FALSE; /* Shutdown requested */ 31 int my_shutdown = FALSE; /* Shutdown requested */
31 char *Paneltype = NULL; /* Panel to emulate */ 32 char *Paneltype = NULL; /* Panel to emulate */
159 160
160 syslog(LOG_NOTICE, "Finished, rc=%d", rc); 161 syslog(LOG_NOTICE, "Finished, rc=%d", rc);
161 return 0; 162 return 0;
162 } 163 }
163 164
165 #else
164 166
167 int main(int argc, char *argv[])
168 {
169 fprintf(stderr, "brewpanel not compiled because SDL is missing.\n");
170 return 1;
171 }
172
173 #endif
174

mercurial