summaryrefslogtreecommitdiff
path: root/src/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/socket.h')
-rw-r--r--src/socket.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/socket.h b/src/socket.h
index b1f1e0875..489818123 100644
--- a/src/socket.h
+++ b/src/socket.h
@@ -17,8 +17,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#ifndef SOCKET_HEADER
-#define SOCKET_HEADER
+#pragma once
#ifdef _WIN32
#ifndef _WIN32_WINNT
@@ -133,6 +132,3 @@ private:
int m_timeout_ms;
int m_addr_family;
};
-
-#endif
-