summaryrefslogtreecommitdiff
path: root/cpp/include/Ice/UndefSysMacros.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/include/Ice/UndefSysMacros.h')
-rw-r--r--cpp/include/Ice/UndefSysMacros.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/cpp/include/Ice/UndefSysMacros.h b/cpp/include/Ice/UndefSysMacros.h
index d412fd1b26d..32ccd926258 100644
--- a/cpp/include/Ice/UndefSysMacros.h
+++ b/cpp/include/Ice/UndefSysMacros.h
@@ -7,8 +7,7 @@
//
// **********************************************************************
-#ifndef ICE_UNDEF_SYS_MACROS_H
-#define ICE_UNDEF_SYS_MACROS_H
+#pragma once
//
// This header includes macros that can end up being dragged into
@@ -38,5 +37,3 @@
#ifdef max
#undef max
#endif
-
-#endif