summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--IvyProbe/StdAfx.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/IvyProbe/StdAfx.h b/IvyProbe/StdAfx.h
index 799e157..35c8d10 100644
--- a/IvyProbe/StdAfx.h
+++ b/IvyProbe/StdAfx.h
@@ -20,9 +20,14 @@
#endif // _AFX_NO_AFXCMN_SUPPORT
#include <afxtempl.h> // MFC collections
#include <afxcoll.h>
-#include <winsock2.h>
+#include <winsock.h>
#include <afxsock.h> // MFC socket extensions
+#ifndef UNDER_CE
#include "ETSLayout.h"
+#define MyDialog ETSLayoutDialog
+#else
+#define MyDialog CDialog
+#endif
#include "HistoryEdit.h"
//{{AFX_INSERT_LOCATION}}