Use #pragma once

We switched over to using #pragma once, so lets
use it consistently, in generated headers as well.
This commit is contained in:
Matthias Clasen 2023-05-09 11:17:26 -04:00 committed by Emmanuele Bassi
parent 383c404792
commit d7b9d35c02

View File

@ -19,8 +19,7 @@
#error "Only <gdk/gdk.h> can be included directly." #error "Only <gdk/gdk.h> can be included directly."
#endif #endif
#ifndef __GDK_VERSION_MACROS_H__ #pragma once
#define __GDK_VERSION_MACROS_H__
#include <glib.h> #include <glib.h>
@ -145,5 +144,3 @@
#endif #endif
#include <gdk/version/gdk-visibility.h> #include <gdk/version/gdk-visibility.h>
#endif /* __GDK_VERSION_MACROS_H__ */