From 35589b9f994ef827c34fe6ac91c8344c2a351412 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sun, 31 Oct 2021 13:29:36 +0200 Subject: [PATCH] Use a const variable instead of #define --- source/io/unix/handle_platform.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/io/unix/handle_platform.h b/source/io/unix/handle_platform.h index b241669..4254687 100644 --- a/source/io/unix/handle_platform.h +++ b/source/io/unix/handle_platform.h @@ -6,7 +6,7 @@ namespace IO { typedef int PlatformHandle; -#define INVALID_HANDLE_VALUE -1 +const PlatformHandle INVALID_HANDLE_VALUE = -1; } // namespace IO } // namespace Msp -- 2.43.0