Add device.c.

2003/05/25 20:40:26+01:00 cantab.net!aia21
Add -fms-extensions when compiling with gcc-3.2+.

(Logical change 1.136)
edge.strict_endians
cantab.net!aia21 2003-05-26 12:58:41 +00:00
parent 5389b4d556
commit 3d929125fa
1 changed files with 10 additions and 2 deletions

View File

@ -27,11 +27,18 @@
LTVERSION = 4:0:0
# Later gcc require -fms-extensions to work.
if GCC_NEEDS_MS_EXTENSIONS
GCCflag = -fms-extensions
else
GCCflag =
endif
# Need this to enable 64-bit (device) file access functions and parameters.
if DEBUG
AM_CFLAGS = -D_FILE_OFFSET_BITS=64 -Wall -g -DDEBUG
AM_CFLAGS = -D_FILE_OFFSET_BITS=64 -Wall -g -DDEBUG $(GCCflag)
else
AM_CFLAGS = -D_FILE_OFFSET_BITS=64 -Wall
AM_CFLAGS = -D_FILE_OFFSET_BITS=64 -Wall $(GCCflag)
endif
linux_ntfsincludedir = -I$(top_srcdir)/include
@ -43,6 +50,7 @@ libntfs_la_SOURCES = \
bootsect.c \
compat.c \
debug.c \
device.c \
dir.c \
disk_io.c \
inode.c \