mirror of
https://github.com/3proxy/3proxy.git
synced 2025-02-23 02:25:40 +08:00
Add icon, resolve MinGW compilation issues
This commit is contained in:
parent
d255b703a5
commit
2b0f8bbcfc
1
.gitignore
vendored
1
.gitignore
vendored
@ -14,7 +14,6 @@ tmp/
|
||||
*.bat
|
||||
*.swp
|
||||
*.o
|
||||
3proxy.res
|
||||
*.idb
|
||||
src/version.h
|
||||
src/res
|
||||
|
BIN
3proxy.ico
Normal file
BIN
3proxy.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 32 KiB |
@ -1,7 +1,6 @@
|
||||
#include "src/version.h"
|
||||
#include "afxres.h"
|
||||
|
||||
LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
|
||||
LANGUAGE 0x09, 0x01
|
||||
|
||||
VS_VERSION_INFO VERSIONINFO
|
||||
FILEVERSION 0,7,0,0
|
||||
@ -18,9 +17,9 @@ BEGIN
|
||||
VALUE "FileDescription", "3proxy - tiny proxy server"
|
||||
VALUE "FileVersion", VERSION "-" BUILDDATE
|
||||
VALUE "InternalName", "3proxy"
|
||||
VALUE "LegalCopyright", "Copyright (C) 2002-2009 Vladimir Dubrovin"
|
||||
VALUE "LegalCopyright", "Copyright (C) 2002-2014 Vladimir Dubrovin"
|
||||
VALUE "OriginalFilename", "3proxy.exe"
|
||||
VALUE "ProductName", "3proxy"
|
||||
VALUE "ProductName", "3proxy - tiny proxy server"
|
||||
VALUE "ProductVersion", VERSION
|
||||
END
|
||||
END
|
||||
@ -29,4 +28,4 @@ BEGIN
|
||||
VALUE "Translation", 0x0, 1200
|
||||
END
|
||||
END
|
||||
|
||||
0 ICON DISCARDABLE "3proxy.ico"
|
||||
|
BIN
3proxy.res
Normal file
BIN
3proxy.res
Normal file
Binary file not shown.
@ -15,7 +15,8 @@ LN = link
|
||||
LDFLAGS = /nologo /subsystem:console /incremental:no /machine:I386
|
||||
DLFLAGS = /DLL
|
||||
DLSUFFICS = .dll
|
||||
LIBS = ws2_32.lib advapi32.lib odbc32.lib user32.lib kernel32.lib Gdi32.lib libeay32MT.lib ssleay32MT.lib
|
||||
LIBS = ws2_32.lib advapi32.lib odbc32.lib user32.lib kernel32.lib Gdi32.lib
|
||||
LIBSOLD = libeay32MT.lib ssleay32MT.lib
|
||||
LIBEXT = .lib
|
||||
LNOUT = /out:
|
||||
EXESUFFICS = .exe
|
||||
|
@ -15,7 +15,8 @@ LN = link
|
||||
LDFLAGS = /nologo /subsystem:console /incremental:no /machine:x64
|
||||
DLFLAGS = /DLL
|
||||
DLSUFFICS = .dll
|
||||
LIBS = ws2_32.lib advapi32.lib odbc32.lib user32.lib kernel32.lib Gdi32.lib libeay32MT.lib ssleay32MT.lib
|
||||
LIBS = ws2_32.lib advapi32.lib odbc32.lib user32.lib kernel32.lib Gdi32.lib
|
||||
LIBSOLD = libeay32MT.lib ssleay32MT.lib
|
||||
LIBEXT = .lib
|
||||
LNOUT = /out:
|
||||
EXESUFFICS = .exe
|
||||
|
@ -105,13 +105,6 @@ int savecouters(void)
|
||||
#ifdef _WIN32
|
||||
__declspec(dllexport) int start(struct pluginlink * pluginlink,
|
||||
int argc, char** argv);
|
||||
BOOL APIENTRY DllMain( HMODULE hModule,
|
||||
DWORD ul_reason_for_call,
|
||||
LPVOID lpReserved
|
||||
)
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
#else
|
||||
|
||||
int start(struct pluginlink * pluginlink,
|
||||
|
@ -153,7 +153,7 @@ static int restore_old_table(void * v)
|
||||
#ifdef _WIN32
|
||||
__declspec(dllexport) int start(struct pluginlink * pluginlink,
|
||||
int argc, char** argv);
|
||||
BOOL APIENTRY DllMain( HMODULE hModule,
|
||||
BOOL WINAPI DllMain( HINSTANCE hModule,
|
||||
DWORD ul_reason_for_call,
|
||||
LPVOID lpReserved
|
||||
)
|
||||
|
@ -229,7 +229,7 @@ void mylogfunc(struct clientparam * param, const unsigned char * pz) {
|
||||
|
||||
#ifdef _WIN32
|
||||
|
||||
BOOL APIENTRY DllMain( HANDLE hModule,
|
||||
BOOL WINAPI DllMain( HINSTANCE hModule,
|
||||
DWORD ul_reason_for_call,
|
||||
LPVOID lpReserved
|
||||
)
|
||||
|
@ -20,14 +20,6 @@ extern "C" {
|
||||
int argc, char** argv);
|
||||
|
||||
|
||||
BOOL APIENTRY DllMain( HMODULE hModule,
|
||||
DWORD ul_reason_for_call,
|
||||
LPVOID lpReserved
|
||||
)
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
static struct auth alwaysauth;
|
||||
|
||||
static char sidbuf[4096];
|
||||
|
@ -18,15 +18,6 @@ extern "C" {
|
||||
__declspec(dllexport) int utf8tocp1251(struct pluginlink * pluginlink,
|
||||
int argc, char** argv);
|
||||
|
||||
|
||||
BOOL APIENTRY DllMain( HMODULE hModule,
|
||||
DWORD ul_reason_for_call,
|
||||
LPVOID lpReserved
|
||||
)
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
static struct auth alwaysauth;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user