00001 #ifndef WINCMP_CWIN_H
00002 #define WINCMP_CWIN_H
00003
00004
00005 #ifndef _WIN32_WINNT
00006 #define _WIN32_WINNT 0x0400
00007 #endif
00008
00009 #ifdef _AFXDLL
00010 #define USEMFC
00011 #endif
00012
00013 #ifdef __BORLANDC__
00014 #pragma pack(push)
00015 #endif
00016
00017
00018 #define VC_EXTRALEAN // Windows ヘッダーから殆ど使用されないスタッフを除外します。
00019
00020 #ifdef USEMFC
00021 #include <afxwin.h>
00022 #else
00023 #ifdef __BORLANDC__
00024 #undef STRICT
00025 #include <winsock2.h>
00026 #else
00027 #ifndef STRICT
00028 #define STRICT
00029 #endif
00030 #if _MSC_VER >= 1300
00031 #include <winsock2.h>
00032 #endif
00033 #endif
00034 #include <unknwn.h>
00035 #include <windows.h>
00036 #endif
00037
00038 #ifdef __BORLANDC__
00039 #pragma pack(pop)
00040 #endif
00041
00042 #include "WBWinTypes.h"
00043
00044 #ifdef _MSC_VER
00045 #undef min
00046 #undef max
00047 #endif
00048
00049 #endif