summaryrefslogtreecommitdiffhomepage
path: root/NetEx/NetLayer.h
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-03-30 22:07:03 +0200
committerAki <please@ignore.pl>2022-03-30 22:07:03 +0200
commit0c64847028c1e39d44f76189d9ac215726442f9b (patch)
tree4263e82fdf79dcf92bb62e59c41a7bdb72c8f86a /NetEx/NetLayer.h
parente2a9666f356ab0a71ef10113ed0b0b696ddf1075 (diff)
downloadstarshatter-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.h14
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();