From afbf0d888b7222e7057890ffef4457e9f6be4ed5 Mon Sep 17 00:00:00 2001 From: scawful Date: Fri, 19 Jul 2024 16:34:09 -0400 Subject: [PATCH] add header guard to file dialog platform code --- src/app/core/platform/file_dialog.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/app/core/platform/file_dialog.h b/src/app/core/platform/file_dialog.h index 7a69d0a0..62dfbd4c 100644 --- a/src/app/core/platform/file_dialog.h +++ b/src/app/core/platform/file_dialog.h @@ -1,3 +1,6 @@ +#ifndef YAZE_APP_CORE_PLATFORM_FILE_DIALOG_H +#define YAZE_APP_CORE_PLATFORM_FILE_DIALOG_H + #include #ifdef _WIN32 @@ -68,4 +71,6 @@ class FileDialogWrapper { #else #error "Unsupported platform." -#endif \ No newline at end of file +#endif + +#endif // YAZE_APP_CORE_PLATFORM_FILE_DIALOG_H \ No newline at end of file