defines.f, winmain.c, .h: enable --with-wingui for CYGWIN
This commit is contained in:
parent
81c8a23d28
commit
da38175e21
|
|
@ -74,7 +74,7 @@
|
||||||
/* Alternate initialisation file name */
|
/* Alternate initialisation file name */
|
||||||
#define ALT_INITSTR "spice.rc"
|
#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_PATHSEP "\\"
|
||||||
#define DIR_TERM '\\'
|
#define DIR_TERM '\\'
|
||||||
#define DIR_PATHSEP_LINUX "/"
|
#define DIR_PATHSEP_LINUX "/"
|
||||||
|
|
|
||||||
|
|
@ -1384,8 +1384,9 @@ int system( const char * command)
|
||||||
} // system Windows95
|
} // system Windows95
|
||||||
#endif
|
#endif
|
||||||
*/
|
*/
|
||||||
|
#ifdef __CYGWIN__
|
||||||
/* Strip leading spaces, return a copy of s */
|
/* Strip leading spaces, return a copy of s */
|
||||||
/*static char* rlead(char *s)
|
static char* rlead(char *s)
|
||||||
{
|
{
|
||||||
int i,j=0;
|
int i,j=0;
|
||||||
static char temp[512];
|
static char temp[512];
|
||||||
|
|
@ -1406,7 +1407,7 @@ int system( const char * command)
|
||||||
temp[j] = '\0';
|
temp[j] = '\0';
|
||||||
return copy(temp);
|
return copy(temp);
|
||||||
}
|
}
|
||||||
*/
|
#endif
|
||||||
|
|
||||||
void winmessage(char* new_msg)
|
void winmessage(char* new_msg)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,9 @@
|
||||||
/* Forward definition of main() */
|
/* Forward definition of main() */
|
||||||
int xmain( int argc, char * argv[]);
|
int xmain( int argc, char * argv[]);
|
||||||
/* forward of Update function */
|
/* forward of Update function */
|
||||||
//static char* rlead(char*);
|
#ifdef __CYGWIN__
|
||||||
|
static char* rlead(char*);
|
||||||
|
#endif
|
||||||
void winmessage(char*);
|
void winmessage(char*);
|
||||||
|
|
||||||
static void HistoryInit(void);
|
static void HistoryInit(void);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue