diff options
Diffstat (limited to 'libappstream-glib/as-version.h.in')
-rw-r--r-- | libappstream-glib/as-version.h.in | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/libappstream-glib/as-version.h.in b/libappstream-glib/as-version.h.in index 6cc6bde..f1e2d8e 100644 --- a/libappstream-glib/as-version.h.in +++ b/libappstream-glib/as-version.h.in @@ -5,6 +5,8 @@ * SPDX-License-Identifier: LGPL-2.1+ */ +#pragma once + /** * SECTION:as-version * @short_description: Preprocessor macros for the libappstream-glib version @@ -19,9 +21,6 @@ #error "Only <appstream_glib.h> can be included directly." #endif -#ifndef __AS_VERSION_H -#define __AS_VERSION_H - #include <glib.h> /* compile time version @@ -40,5 +39,3 @@ AS_MICRO_VERSION >= (micro))) const gchar *as_version_string (void); - -#endif /* __AS_VERSION_H */ |