From: Christos Zoulas Date: Fri, 13 Feb 2009 20:27:20 +0000 (-0500) Subject: - Don't define __USE macros. They are reserved for internal OS use. X-Git-Tag: am-utils-6_2_rc1~26 X-Git-Url: https://git.fsl.cs.stonybrook.edu/?a=commitdiff_plain;h=068e47623e805c03eac5332ea6130680d6fa211a;p=am-utils-6.2.git - Don't define __USE macros. They are reserved for internal OS use. - Move the largefile64 macro to the beginning of the file to avoid redefinitions. --- diff --git a/include/am_defs.h b/include/am_defs.h index 8dbf4f73..c937b2ec 100644 --- a/include/am_defs.h +++ b/include/am_defs.h @@ -49,6 +49,8 @@ #ifndef _AM_DEFS_H #define _AM_DEFS_H +#define _LARGEFILE64_SOURCE + /* * Actions to take if ANSI C. */ @@ -216,11 +218,6 @@ struct sigevent; */ #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 #endif /* HAVE_FCNTL_H */