Delete unused vol_t type

This commit is contained in:
Ziemas 2021-09-07 12:15:15 +02:00 committed by Kojin
parent a58fde68e6
commit 253571fd35
1 changed files with 0 additions and 11 deletions

View File

@ -145,14 +145,3 @@ struct s128
return (lo != right.lo) || (hi != right.hi);
}
};
// On linux sizes of long depends on the architecture (4B/x86 vs 86/amd64)
// Windows compiler requires int/long type for _InterlockedExchange* function.
// The best would be to port all _InterlockedExchange function to use
// Theading::Atomic* function. Unfortunately Win version is not happy, until
// code is properly fixed let's use a basic type alias.
#ifdef _WIN32
using vol_t = long;
#else
using vol_t = s32;
#endif