summaryrefslogtreecommitdiffstats
path: root/Source/cm_sys_stat.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cm_sys_stat.h')
-rw-r--r--Source/cm_sys_stat.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/cm_sys_stat.h b/Source/cm_sys_stat.h
index 9194286..c4e3d84 100644
--- a/Source/cm_sys_stat.h
+++ b/Source/cm_sys_stat.h
@@ -1,7 +1,6 @@
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
file Copyright.txt or https://cmake.org/licensing for details. */
-#ifndef cm_sys_stat_h
-#define cm_sys_stat_h
+#pragma once
#if defined(_MSC_VER)
using mode_t = unsigned short;
@@ -10,5 +9,3 @@ using mode_t = unsigned short;
#include <sys/types.h>
// include sys/stat.h after sys/types.h
#include <sys/stat.h> // IWYU pragma: export
-
-#endif