various assorted things required by the new compiler and codebase changes
svn-id: r29310
This commit is contained in:
parent
0c532c28f6
commit
1fcbeda5fe
6 changed files with 16 additions and 4 deletions
|
@ -42,7 +42,7 @@ using namespace Common;
|
|||
|
||||
class CEAboutDialog : public Dialog {
|
||||
public:
|
||||
CEAboutDialog::CEAboutDialog()
|
||||
CEAboutDialog()
|
||||
: Dialog(10, 60, 300, 77) {
|
||||
char tempo[100];
|
||||
|
||||
|
|
1
backends/platform/wince/missing/gcc/direct.h
Normal file
1
backends/platform/wince/missing/gcc/direct.h
Normal file
|
@ -0,0 +1 @@
|
|||
/* Header is not present in Windows CE SDK */
|
1
backends/platform/wince/missing/gcc/errno.h
Normal file
1
backends/platform/wince/missing/gcc/errno.h
Normal file
|
@ -0,0 +1 @@
|
|||
/* Header is not present in Windows CE SDK */
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
#include <sys/types.h>
|
||||
|
||||
#ifndef __MINGW32CE__
|
||||
struct stat {
|
||||
_dev_t st_dev;
|
||||
_ino_t st_ino;
|
||||
|
@ -16,8 +17,9 @@ struct stat {
|
|||
time_t st_ctime;
|
||||
};
|
||||
|
||||
int stat(const char *, struct stat *);
|
||||
|
||||
#endif
|
||||
|
||||
#define _S_IFDIR 0040000 /* directory */
|
||||
#define S_IFDIR _S_IFDIR
|
||||
|
||||
int stat(const char *, struct stat *);
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifndef __MINGW32CE__
|
||||
struct tm
|
||||
{
|
||||
short tm_year;
|
||||
|
@ -28,3 +29,4 @@ EXT_C struct tm* localtime(time_t* dummy);
|
|||
unsigned int clock();
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -75,9 +75,15 @@ char *strpbrk(const char *s, const char *accept);
|
|||
#include <assert.h>
|
||||
#include <mmsystem.h>
|
||||
#include <ctype.h>
|
||||
#include <direct.h>
|
||||
//#include <direct.h>
|
||||
#include <time.h>
|
||||
|
||||
#ifdef __MINGW32CE__
|
||||
void *bsearch(const void *, const void *, size_t, size_t, int (*x) (const void *, const void *));
|
||||
#endif
|
||||
int remove(const char *path);
|
||||
int _access(const char *path, int mode);
|
||||
|
||||
void drawError(char*);
|
||||
|
||||
#define vsnprintf _vsnprintf
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue