Parent Directory | Revision Log
First import
1 | bearsoft | 1.1 | #ifndef __SystemDefine_H__ |
2 | #define __SystemDefine_H__ | ||
3 | |||
4 | #define null 0 | ||
5 | |||
6 | #ifdef WIN32 | ||
7 | //#define MEMORYDEBUG | ||
8 | //#include "../Memory/mman.h" | ||
9 | #include <malloc.h> | ||
10 | #endif | ||
11 | |||
12 | #ifdef linux | ||
13 | #include <malloc.h> | ||
14 | //#include <pthread.h> | ||
15 | //pthread_mutex_t mut = PTHREAD_MUTEX_INITIALIZER; | ||
16 | #endif | ||
17 | |||
18 | #ifdef sun | ||
19 | #include <malloc.h> | ||
20 | //#include <pthread.h> | ||
21 | //pthread_mutex_t mut = PTHREAD_MUTEX_INITIALIZER; | ||
22 | #endif | ||
23 | |||
24 | #include "../String/NewRow.h" | ||
25 | |||
26 | #define FileDoesNotExist 0 | ||
27 | #define FileExist 1 | ||
28 | #define FileNameNull 2 | ||
29 | #define CouldNotReadFile 3 | ||
30 | #define CouldNotWriteFile 4 | ||
31 | |||
32 | #define date_ 0 | ||
33 | #define time_ 1 | ||
34 | #define datetime_ 2 | ||
35 | |||
36 | #endif |
root@recompile.se | ViewVC Help |
Powered by ViewVC 1.1.26 |