diff --git a/src/server/server_object.cpp b/src/server/server_object.cpp
index f35b168..b6c816a 100644
--- a/src/server/server_object.cpp
+++ b/src/server/server_object.cpp
@@ -25,9 +25,6 @@
 #include <functional>
 #include <iostream>
 
-#ifdef WIN32
-#undef GetObject
-#endif
 
 namespace
 {
