diff options
author | Christian Hergert <chergert@redhat.com> | 2023-03-16 16:38:48 -0700 |
---|---|---|
committer | Christian Hergert <chergert@redhat.com> | 2023-03-22 16:44:35 -0700 |
commit | 46cf665494b7602b2aed8cb156415236f828e112 (patch) | |
tree | c95de26d0736eced826dda37e2c3b161b531b081 /loaders/lua5.1 | |
parent | 35e70f0b4581276955cc9caa5088afea1a9d6ca6 (diff) | |
download | libpeas-46cf665494b7602b2aed8cb156415236f828e112.tar.gz |
janitorial: remove HAVE_CONFIG_H
There is no need to do the HAVE_CONFIG_H thing with meson. We always have
a config.h so just include it unconditionally.
Diffstat (limited to 'loaders/lua5.1')
-rw-r--r-- | loaders/lua5.1/meson.build | 1 | ||||
-rw-r--r-- | loaders/lua5.1/peas-lua-internal.c | 4 | ||||
-rw-r--r-- | loaders/lua5.1/peas-lua-utils.c | 4 | ||||
-rw-r--r-- | loaders/lua5.1/peas-plugin-loader-lua.c | 4 |
4 files changed, 3 insertions, 10 deletions
diff --git a/loaders/lua5.1/meson.build b/loaders/lua5.1/meson.build index f87707d..6f9f4bb 100644 --- a/loaders/lua5.1/meson.build +++ b/loaders/lua5.1/meson.build @@ -22,7 +22,6 @@ lua51_loader_deps = [ ] lua51_loader_c_args = [ - '-DHAVE_CONFIG_H', '-DLGI_MAJOR_VERSION=@0@'.format(lua51_lgi_version_major), '-DLGI_MINOR_VERSION=@0@'.format(lua51_lgi_version_minor), '-DLGI_MICRO_VERSION=@0@'.format(lua51_lgi_version_micro), diff --git a/loaders/lua5.1/peas-lua-internal.c b/loaders/lua5.1/peas-lua-internal.c index 61bb9dd..5530015 100644 --- a/loaders/lua5.1/peas-lua-internal.c +++ b/loaders/lua5.1/peas-lua-internal.c @@ -21,9 +21,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif +#include "config.h" #include "peas-lua-internal.h" diff --git a/loaders/lua5.1/peas-lua-utils.c b/loaders/lua5.1/peas-lua-utils.c index a3e9d00..a74fa34 100644 --- a/loaders/lua5.1/peas-lua-utils.c +++ b/loaders/lua5.1/peas-lua-utils.c @@ -21,9 +21,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif +#include "config.h" #include "peas-lua-utils.h" diff --git a/loaders/lua5.1/peas-plugin-loader-lua.c b/loaders/lua5.1/peas-plugin-loader-lua.c index c32d5ad..14a66ba 100644 --- a/loaders/lua5.1/peas-plugin-loader-lua.c +++ b/loaders/lua5.1/peas-plugin-loader-lua.c @@ -21,9 +21,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif +#include "config.h" #include "peas-plugin-loader-lua.h" #include "libpeas/peas-plugin-info-priv.h" |