mirror of
git://source.winehq.org/git/wine.git
synced 2024-07-21 22:04:10 +00:00
Added a prototype for closesocket.
This commit is contained in:
parent
037fd57c86
commit
a11664cc9b
|
@ -375,6 +375,8 @@ extern "C" {
|
||||||
|
|
||||||
/* Microsoft Windows Extension function prototypes */
|
/* Microsoft Windows Extension function prototypes */
|
||||||
|
|
||||||
|
int WINAPI closesocket(SOCKET s);
|
||||||
|
|
||||||
INT WINAPI WSAStartup(UINT wVersionRequired, LPWSADATA lpWSAData);
|
INT WINAPI WSAStartup(UINT wVersionRequired, LPWSADATA lpWSAData);
|
||||||
void WINAPI WSASetLastError(INT iError);
|
void WINAPI WSASetLastError(INT iError);
|
||||||
INT WINAPI WSACleanup(void);
|
INT WINAPI WSACleanup(void);
|
||||||
|
|
|
@ -1404,8 +1404,10 @@ sub generate_spec_file
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
my $canon=canonize($basename);
|
my $module=$basename;
|
||||||
print FILEO "name $canon\n";
|
$module =~ s+^lib++;
|
||||||
|
$module=canonize($module);
|
||||||
|
print FILEO "name $module\n";
|
||||||
print FILEO "type win32\n";
|
print FILEO "type win32\n";
|
||||||
if (@$target[$T_TYPE] == $TT_GUIEXE) {
|
if (@$target[$T_TYPE] == $TT_GUIEXE) {
|
||||||
print FILEO "mode guiexe\n";
|
print FILEO "mode guiexe\n";
|
||||||
|
@ -2793,7 +2795,7 @@ $(EXTRASUBDIRS:%=%/__clean__): dummy
|
||||||
-cd `dirname $@` && $(RM) $(CLEAN_FILES)
|
-cd `dirname $@` && $(RM) $(CLEAN_FILES)
|
||||||
|
|
||||||
clean:: $(SUBDIRS:%=%/__clean__) $(EXTRASUBDIRS:%=%/__clean__)
|
clean:: $(SUBDIRS:%=%/__clean__) $(EXTRASUBDIRS:%=%/__clean__)
|
||||||
$(RM) $(CLEAN_FILES) $(RC_SRCS:.rc=.res) $(OBJS) $(EXES) $(EXES:%=%.so) $(DLLS)
|
$(RM) $(CLEAN_FILES) $(RC_SRCS:.rc=.res) $(OBJS) $(SPEC_SRCS:.spec=.tmp.o) $(EXES) $(EXES:%=%.so) $(DLLS)
|
||||||
|
|
||||||
# Rules for installing
|
# Rules for installing
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue