blob: 9e742c7a193182e74dc80fa257cc5e4cc7df5cae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
/*/msvcdir.h */
#if !defined(MSVCDIR_H)
#define MSVCDIR_H
#include <stdlib.h> /*_splitpath */
#include <direct.h>
#include <assert.h> /*assert */
struct ftime{
unsigned ft_tsec: 5;
unsigned ft_min: 6;
unsigned ft_hour: 5;
unsigned ft_day: 5;
unsigned ft_month: 4;
unsigned ft_year: 7;
};
#define MAXPATH _MAX_PATH
#define MAXFILE _MAX_FNAME
#define MAXDIR _MAX_DIR
#define MAXDRIVE _MAX_DRIVE
#define MAXEXT _MAX_EXT
#define fnsplit _splitpath
void getftime(int handle, struct ftime *ft);
#if defined(MSVC) && !defined(_WARNING_)
#define _WARNING_
#pragma warning( disable : 4244 4018 4102 4761 4146 4047 4305 4245 4113)
#endif
#endif MSVCDIR_H
|