Detect NO_NTFS_DEVICE_DEFAULT_IO_OPS and #error appropriately.
(Logical change 1.283)edge.strict_endians
parent
4b12f1bfce
commit
6cecd0e726
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue