mirror of
https://git.code.sf.net/p/ntfs-3g/ntfs-3g.git
synced 2024-11-23 18:14:24 +08:00
Fixes from Lode to make it work on Cygwin.
(Logical change 1.211)
This commit is contained in:
parent
91d3027eb2
commit
9f07090763
@ -33,13 +33,18 @@
|
||||
* define our own...
|
||||
*/
|
||||
typedef long long int s64;
|
||||
typedef unsigned long int u32;
|
||||
struct flock;
|
||||
struct stat;
|
||||
struct ntfs_volume;
|
||||
typedef struct ntfs_volume ntfs_volume;
|
||||
|
||||
#include "config.h"
|
||||
|
||||
/* Need device, but prevent ../include/types.h to be loaded. */
|
||||
#define _NTFS_TYPES_H
|
||||
#define _NTFS_SUPPORT_H
|
||||
#define _NTFS_VOLUME_H
|
||||
#include "device.h"
|
||||
|
||||
#define FORCE_ALIGNED_READ
|
||||
|
@ -38,6 +38,10 @@ extern const char *ntfs_gpl;
|
||||
#define PATH_SEP '/'
|
||||
#define MAX_PATH 1024
|
||||
|
||||
#ifndef REG_NOERROR
|
||||
#define REG_NOERROR REG_OKAY
|
||||
#endif
|
||||
|
||||
#define GEN_PRINTF(NAME, STREAM, CONTROL, TRIGGER) \
|
||||
__attribute__ ((format (printf, 1, 2))) \
|
||||
int NAME (const char *format, ...) \
|
||||
|
Loading…
Reference in New Issue
Block a user