aboutsummaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/util.h b/src/util.h
index a1f1694929..4c1e74b7da 100644
--- a/src/util.h
+++ b/src/util.h
@@ -139,14 +139,12 @@ inline int myclosesocket(SOCKET& hSocket)
return ret;
}
#define closesocket(s) myclosesocket(s)
-#if 0
-#ifndef GUI
+#if !defined(QT_GUI) && !defined(GUI)
inline const char* _(const char* psz)
{
return psz;
}
#endif
-#endif