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."
#endif
#ifndef __GDK_VERSION_MACROS_H__
#define __GDK_VERSION_MACROS_H__
#pragma once
#include <glib.h>
@ -145,5 +144,3 @@
#endif
#include <gdk/version/gdk-visibility.h>
#endif /* __GDK_VERSION_MACROS_H__ */