- Move the largefile64 macro to the beginning of the file to avoid
redefinitions.
#ifndef _AM_DEFS_H
#define _AM_DEFS_H
+#define _LARGEFILE64_SOURCE
+
/*
* Actions to take if ANSI C.
*/
*/
#if HAVE_FCNTL_H
# ifdef HAVE_LINUX_LOOP_H
-/* so I can mount large files as loop devices */
-/* XXX: need to move these two LARGEFILE defines to a better place */
-# define _LARGEFILE64_SOURCE
-# define __USE_LARGEFILE64
-# endif /* HAVE_LINUX_LOOP_H */
# include <fcntl.h>
#endif /* HAVE_FCNTL_H */