progname, res_name and res_class are X11-specific
This commit is contained in:
parent
2f52760345
commit
a95337ef81
2 changed files with 4 additions and 2 deletions
|
@ -14,9 +14,11 @@
|
|||
#include "resources.h"
|
||||
#include "x48.h"
|
||||
|
||||
#if defined( GUI_IS_X11 )
|
||||
char* progname;
|
||||
char* res_name;
|
||||
char* res_class;
|
||||
#endif
|
||||
|
||||
int saved_argc;
|
||||
char** saved_argv;
|
||||
|
@ -47,6 +49,7 @@ int main( int argc, char** argv ) {
|
|||
|
||||
setlocale( LC_ALL, "C" );
|
||||
|
||||
#if defined( GUI_IS_X11 )
|
||||
/*
|
||||
* Get the name we are called.
|
||||
*/
|
||||
|
@ -56,7 +59,6 @@ int main( int argc, char** argv ) {
|
|||
else
|
||||
progname++;
|
||||
|
||||
#if defined( GUI_IS_X11 )
|
||||
/*
|
||||
* save command line options
|
||||
*/
|
||||
|
|
|
@ -26,11 +26,11 @@ extern char romFileName[];
|
|||
extern char homeDirectory[];
|
||||
#endif
|
||||
|
||||
#if defined( GUI_IS_X11 )
|
||||
extern char* progname;
|
||||
extern char* res_name;
|
||||
extern char* res_class;
|
||||
|
||||
#if defined( GUI_IS_X11 )
|
||||
extern XrmDatabase rdb;
|
||||
|
||||
extern void usage( void );
|
||||
|
|
Loading…
Reference in a new issue