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 */
|
||||
#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,9 @@ 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 +1407,7 @@ int system( const char * command)
|
|||
temp[j] = '\0';
|
||||
return copy(temp);
|
||||
}
|
||||
*/
|
||||
#endif
|
||||
|
||||
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*);
|
||||
#ifdef __CYGWIN__
|
||||
static char* rlead(char*);
|
||||
#endif
|
||||
void winmessage(char*);
|
||||
|
||||
static void HistoryInit(void);
|
||||
|
|
|
|||
Loading…
Reference in New Issue