summaryrefslogtreecommitdiff
path: root/protocols/Xfire/src/stdafx.h
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2012-11-05 21:11:48 +0000
committerRobert Pösel <robyer@seznam.cz>2012-11-05 21:11:48 +0000
commit048aaf0c4e77402adf584e3318e5aae6f1cdd749 (patch)
treedef343da80e282ae43164e45e672a1386db66546 /protocols/Xfire/src/stdafx.h
parent35a9af527f9b7ec35e81455784cd0a795be910c5 (diff)
XFire adoption (crashes on login, no 64bit)
git-svn-id: http://svn.miranda-ng.org/main/trunk@2212 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Xfire/src/stdafx.h')
-rw-r--r--protocols/Xfire/src/stdafx.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/protocols/Xfire/src/stdafx.h b/protocols/Xfire/src/stdafx.h
new file mode 100644
index 0000000000..3b6a0d7bd2
--- /dev/null
+++ b/protocols/Xfire/src/stdafx.h
@@ -0,0 +1,36 @@
+// stdafx.h : Includedatei für Standardsystem-Includedateien
+// oder häufig verwendete projektspezifische Includedateien,
+// die nur in unregelmäßigen Abständen geändert werden.
+//
+
+#pragma once
+
+#ifndef _WIN32_WINNT // Lassen Sie die Verwendung spezifischer Features von Windows XP oder später zu.
+#define _WIN32_WINNT 0x0501 // Ändern Sie dies in den geeigneten Wert für andere Versionen von Windows.
+#endif
+
+#include <stdio.h>
+#include <cstdlib>
+#include <tchar.h>
+#include <iostream>
+
+#define uint unsigned int
+#define socklen_t int
+
+#define NO_PTHREAD
+
+#pragma warning(disable:4267)
+#pragma warning(disable:4244)
+#pragma warning(disable:4312)
+#pragma warning(disable:4099)
+#pragma warning(disable:4311)
+#pragma comment(lib,"ws2_32.lib")
+
+#ifndef NO_PTHREAD
+#pragma comment(lib,"pthreads.lib")
+#endif
+
+#pragma comment(lib,"user32.lib")
+#pragma comment(lib,"gdi32.lib")
+
+// TODO: Hier auf zusätzliche Header, die das Programm erfordert, verweisen.