Closed GoogleCodeExporter closed 9 years ago
The internal.h must be the first include file and config.h is the first
included there, that how it was meant (but not used as you just found).
I definitely do not want ugly +#ifdef HAVE_CONFIG_H in every file ;-)
Better include it unconditionally.
The rest defines is relict of old source, I think most of it is not needed
already but there were some strange configuration where it need to be retested
first.
Original comment by gmazyl...@gmail.com
on 3 Jun 2013 at 9:47
OK, here is a different version that relies on the preprocessor to ensure
config.h is included first.. supported by all linux compilers that claim to be
GCC compatible.
Original comment by judas.iscariote
on 22 Jun 2013 at 2:41
Attachments:
Thanks, with some changes committed as
http://code.google.com/p/cryptsetup/source/detail?r=1349efa34db577947083daee2e52
1770614fcfe0#
- include do not need exact path (util-linux is using similar approach)
- build without large file is unsupported
Original comment by gmazyl...@gmail.com
on 23 Jun 2013 at 3:22
Original issue reported on code.google.com by
judas.iscariote
on 3 Jun 2013 at 8:40Attachments: