mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-12 08:40:19 +00:00
Merge
This commit is contained in:
@@ -17,11 +17,8 @@ all: $(PROG)
|
||||
$(PROG): $(FEGTK_OBJECTS) $(COMLIB) xchat-icon.obj
|
||||
$(LINK) /out:$(PROG) /entry:mainCRTStartup $(LDFLAGS) $(LIBS) $(FEGTK_OBJECTS) $(COMLIB) xchat-icon.obj
|
||||
|
||||
xchat.rc:
|
||||
echo XC_ICON ICON "../../xchat.ico" > xchat.rc
|
||||
|
||||
xchat.res: xchat.rc ../../xchat.ico
|
||||
rc /r xchat.rc
|
||||
rc /nologo /r xchat.rc
|
||||
|
||||
xchat-icon.obj: xchat.res
|
||||
cvtres /nologo $(MACHINE_FLAG) /OUT:xchat-icon.obj xchat.res
|
||||
@@ -29,5 +26,4 @@ xchat-icon.obj: xchat.res
|
||||
clean:
|
||||
@del *.obj
|
||||
@del $(PROG)
|
||||
@del xchat.rc
|
||||
@del xchat.res
|
||||
|
||||
11
src/fe-gtk/typedef.h
Normal file
11
src/fe-gtk/typedef.h
Normal file
@@ -0,0 +1,11 @@
|
||||
#ifndef SSIZE_T_DEFINED
|
||||
#ifdef ssize_t
|
||||
#undef ssize_t
|
||||
#endif
|
||||
#ifdef _WIN64
|
||||
typedef __int64 ssize_t;
|
||||
#else
|
||||
typedef _W64 int ssize_t;
|
||||
#endif
|
||||
#define SSIZE_T_DEFINED
|
||||
#endif
|
||||
22
src/fe-gtk/xchat.rc
Normal file
22
src/fe-gtk/xchat.rc
Normal file
@@ -0,0 +1,22 @@
|
||||
#include <winver.h>
|
||||
#include "../../config.h"
|
||||
|
||||
XC_ICON ICON "../../xchat.ico"
|
||||
|
||||
VS_VERSION_INFO VERSIONINFO
|
||||
BEGIN
|
||||
BLOCK "StringFileInfo"
|
||||
BEGIN
|
||||
BLOCK "040904B0"
|
||||
BEGIN
|
||||
|
||||
VALUE "FileDescription", "XChat-WDK IRC Client"
|
||||
VALUE "ProductName", "XChat-WDK"
|
||||
VALUE "ProductVersion", PACKAGE_VERSION
|
||||
END
|
||||
END
|
||||
BLOCK "VarFileInfo"
|
||||
BEGIN
|
||||
VALUE "Translation", 0x0409, 0x04B0
|
||||
END
|
||||
END
|
||||
@@ -11,7 +11,6 @@ clean:
|
||||
@del common\xchatcommon.lib
|
||||
@del fe-gtk\*.obj
|
||||
@del fe-gtk\xchat.exe
|
||||
@del fe-gtk\xchat.rc
|
||||
@del fe-gtk\xchat.res
|
||||
# @del fe-text\*.obj
|
||||
# @del fe-text\xchat-text.exe
|
||||
|
||||
Reference in New Issue
Block a user