Fixes from Lode to make it work on Cygwin.

(Logical change 1.211)
This commit is contained in:
cantab.net!aia21 2003-10-23 12:28:44 +00:00
parent 91d3027eb2
commit 9f07090763
2 changed files with 9 additions and 0 deletions

View File

@ -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

View File

@ -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, ...) \