Detect NO_NTFS_DEVICE_DEFAULT_IO_OPS and #error appropriately.

(Logical change 1.283)
edge.strict_endians
cantab.net!aia21 2004-02-26 11:41:48 +00:00
parent 4b12f1bfce
commit 6cecd0e726
2 changed files with 12 additions and 0 deletions

View File

@ -125,6 +125,12 @@
#include "runlist.h"
#include "utils.h"
#ifdef NO_NTFS_DEVICE_DEFAULT_IO_OPS
# error "No default device io operations! Cannot build mkntfs. \
You need to run ./configure without the --disable-default-device-io-ops \
switch if you want to be able to build the NTFS utilities."
#endif
extern const unsigned char attrdef_ntfs12_array[2400];
extern const unsigned char boot_array[3429];
extern void init_system_file_sd(int sys_file_no, char **sd_val,

View File

@ -58,6 +58,12 @@
#include "device.h"
#include "logfile.h"
#ifdef NO_NTFS_DEVICE_DEFAULT_IO_OPS
# error "No default device io operations! Cannot build ntfsfix. \
You need to run ./configure without the --disable-default-device-io-ops \
switch if you want to be able to build the NTFS utilities."
#endif
/**
* main
*/