diff options
author | Aki <please@ignore.pl> | 2022-03-30 22:07:03 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-03-30 22:07:03 +0200 |
commit | 0c64847028c1e39d44f76189d9ac215726442f9b (patch) | |
tree | 4263e82fdf79dcf92bb62e59c41a7bdb72c8f86a /NetEx/NetLayer.h | |
parent | e2a9666f356ab0a71ef10113ed0b0b696ddf1075 (diff) | |
download | starshatter-0c64847028c1e39d44f76189d9ac215726442f9b.zip starshatter-0c64847028c1e39d44f76189d9ac215726442f9b.tar.gz starshatter-0c64847028c1e39d44f76189d9ac215726442f9b.tar.bz2 |
Brought NetLayer closer to standard
Diffstat (limited to 'NetEx/NetLayer.h')
-rw-r--r-- | NetEx/NetLayer.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/NetEx/NetLayer.h b/NetEx/NetLayer.h index 0d21d36..0ffb197 100644 --- a/NetEx/NetLayer.h +++ b/NetEx/NetLayer.h @@ -3,21 +3,21 @@ Copyright (c) 2011-2012, Starshatter OpenSource Distribution Contributors Copyright (c) 1997-2006, Destroyer Studios LLC. - AUTHOR: John DiCamillo + AUTHOR: John DiCamillo - OVERVIEW - ======== - Wrapper for WinSock Library + OVERVIEW + ======== + Wrapper for WinSock Library */ #ifndef NetLayer_h #define NetLayer_h -#include <windows.h> +#include <cstdint> + #include "Text.h" -// +-------------------------------------------------------------------+ class NetLayer { @@ -31,7 +31,7 @@ public: const char* Description() const; static int GetLastError(); - static DWORD GetTime(); + static std::uint32_t GetTime(); static long GetUTC(); static Text GetHostName(); |