Commit 8d76caf5 authored by Sébastien Wilmet's avatar Sébastien Wilmet

Replace #if HAVE_CONFIG_H by #ifdef HAVE_CONFIG_H

The #ifdef form is what GtkSourceView and libsoup use, and what the
gcu-include-config-h script uses:
https://github.com/swilmet/gnome-c-utils

With the Autotools, in the generated Makefile's it's:
DEFS = -DHAVE_CONFIG_H

So the #ifdef is slightly better.
parent 0c31c5a6
......@@ -18,7 +18,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
......
......@@ -18,7 +18,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
......
......@@ -17,7 +17,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
......
......@@ -17,7 +17,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
......
......@@ -17,7 +17,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
......
......@@ -17,7 +17,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
......
......@@ -17,7 +17,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
......
......@@ -23,7 +23,7 @@
* Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
......
......@@ -22,7 +22,7 @@
* Copyright 2002 - Evan Martin
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
......
......@@ -17,7 +17,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
......
......@@ -18,7 +18,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
......
......@@ -17,7 +17,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
......
......@@ -19,7 +19,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
......
......@@ -17,7 +17,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
......
......@@ -17,7 +17,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
......
......@@ -17,7 +17,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
......
......@@ -17,7 +17,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
......
......@@ -17,7 +17,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
......
......@@ -17,7 +17,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
......
......@@ -18,7 +18,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
......
......@@ -22,7 +22,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment