@ -74,7 +74,7 @@
/* Alternate initialisation file name */
#define ALT_INITSTR "spice.rc"
#if defined(__MINGW32__) || defined(_MSC_VER)
#if defined(__MINGW32__) || defined(_MSC_VER) || defined (HAS_WINGUI)
#define DIR_PATHSEP "\\"
#define DIR_TERM '\\'
#define DIR_PATHSEP_LINUX "/"
@ -1384,8 +1384,11 @@ int system( const char * command)
} // system Windows95
#endif
*/
#ifdef __CYGWIN__
/* Strip leading spaces, return a copy of s */
/*static char* rlead(char *s)
static char*
rlead(char *s)
{
int i,j=0;
static char temp[512];
@ -1406,7 +1409,7 @@ int system( const char * command)
temp[j] = '\0';
return copy(temp);
}
void winmessage(char* new_msg)
@ -5,7 +5,9 @@
/* Forward definition of main() */
int xmain( int argc, char * argv[]);
/* forward of Update function */
//static char* rlead(char*);
static char* rlead(char*);
void winmessage(char*);
static void HistoryInit(void);