[Bugs] [Bug 1222319] Remove all occurrences of #include "config.h"
bugzilla at redhat.com
bugzilla at redhat.com
Fri May 29 12:43:32 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1222319
--- Comment #4 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/10808 committed in master by Pranith Kumar
Karampuri (pkarampu at redhat.com)
------
commit 8a9328e37b8c63d60583184dc8dab12f85810682
Author: Niels de Vos <ndevos at redhat.com>
Date: Mon May 18 16:26:02 2015 +0200
build: do not #include "config.h" in each file
Instead of including config.h in each file, and have the additional
config.h included from the compiler commandline (-include option).
When a .c file tests for a certain #define, and config.h was not
included, incorrect assumtions were made. With this change, it can not
happen again.
BUG: 1222319
Change-Id: I4f9097b8740b81ecfe8b218d52ca50361f74cb64
Signed-off-by: Niels de Vos <ndevos at redhat.com>
Reviewed-on: http://review.gluster.org/10808
Tested-by: Gluster Build System <jenkins at build.gluster.com>
Tested-by: NetBSD Build System
Reviewed-by: Kaleb KEITHLEY <kkeithle at redhat.com>
Reviewed-by: Pranith Kumar Karampuri <pkarampu at redhat.com>
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=GMktRigOoS&a=cc_unsubscribe
More information about the Bugs
mailing list