]> git.tdb.fi Git - libs/core.git/blobdiff - source/io/unix/handle_platform.h
Use a const variable instead of #define
[libs/core.git] / source / io / unix / handle_platform.h
index b241669e93e7bf8d865acfad01ae2043fa907897..4254687623215443b03e5f83215c4929b73da2de 100644 (file)
@@ -6,7 +6,7 @@ namespace IO {
 
 typedef int PlatformHandle;
 
-#define INVALID_HANDLE_VALUE -1
+const PlatformHandle INVALID_HANDLE_VALUE = -1;
 
 } // namespace IO
 } // namespace Msp