The R Project SVN R

Rev

Rev 46842 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 46842 Rev 47490
Line 39... Line 39...
39
#define _WIN32_WINNT 0x0500     /* for MEMORYSTATUSEX */
39
#define _WIN32_WINNT 0x0500     /* for MEMORYSTATUSEX */
40
#endif
40
#endif
41
#include <windows.h>		/* for CreateEvent,.. */
41
#include <windows.h>		/* for CreateEvent,.. */
42
#include <process.h>		/* for _beginthread,... */
42
#include <process.h>		/* for _beginthread,... */
43
#include <io.h>			/* for isatty, chdir */
43
#include <io.h>			/* for isatty, chdir */
-
 
44
#ifdef _MSC_VER  /* for chdir */
-
 
45
# include <direct.h>
-
 
46
#endif
44
#include "run.h"
47
#include "run.h"
45
#include "Startup.h"
48
#include "Startup.h"
46
#include <stdlib.h>		/* for exit */
49
#include <stdlib.h>		/* for exit */
47
 
50
 
48
#include "win-nls.h"
51
#include "win-nls.h"
Line 58... Line 61...
58
extern SA_TYPE SaveAction; /* from ../main/startup.c */
61
extern SA_TYPE SaveAction; /* from ../main/startup.c */
59
Rboolean DebugMenuitem = FALSE;  /* exported for rui.c */
62
Rboolean DebugMenuitem = FALSE;  /* exported for rui.c */
60
static FILE *ifp = NULL;
63
static FILE *ifp = NULL;
61
static char ifile[MAX_PATH] = "\0";
64
static char ifile[MAX_PATH] = "\0";
62
 
65
 
63
__declspec(dllexport) UImode  CharacterMode;
66
__declspec(dllexport) UImode  CharacterMode = RGui; /* some compilers want initialized for export */
64
int ConsoleAcceptCmd;
67
int ConsoleAcceptCmd;
65
void set_workspace_name(const char *fn); /* ../main/startup.c */
68
void set_workspace_name(const char *fn); /* ../main/startup.c */
66
 
69
 
67
/* used to avoid some flashing during cleaning up */
70
/* used to avoid some flashing during cleaning up */
68
Rboolean AllDevicesKilled = FALSE;
71
Rboolean AllDevicesKilled = FALSE;