diff --git a/BeefLibs/corlib/src/Net/Socket.bf b/BeefLibs/corlib/src/Net/Socket.bf index 25eba8dd..81489794 100644 --- a/BeefLibs/corlib/src/Net/Socket.bf +++ b/BeefLibs/corlib/src/Net/Socket.bf @@ -40,6 +40,13 @@ namespace System.Net } } + [CRepr] + public struct TimeVal + { + public int32 mSec; + public int32 mUSec; + } + #else public struct HSocket : uint32 { @@ -77,16 +84,15 @@ namespace System.Net return (mSocketBitMasks[fd / BITS_PER_MASK] & (1U << (fd & (BITS_PER_MASK - 1)))) != 0; } } + + [CRepr] + public struct TimeVal + { + public int64 mSec; + public int32 mUSec; + } #endif - [CRepr] - public struct TimeVal - { - public int32 mSec; - public int32 mUSec; - } - - #if BF_PLATFORM_WINDOWS [CRepr]