user.exe: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
503d5ef50d
commit
84f39259b1
|
@ -1,6 +1,6 @@
|
||||||
MODULE = user.exe16
|
MODULE = user.exe16
|
||||||
IMPORTS = mpr user32 gdi32
|
IMPORTS = mpr user32 gdi32
|
||||||
EXTRADLLFLAGS = -m16 -Wb,--main-module,user32.dll,--heap,65520
|
EXTRADLLFLAGS = -m16 -mno-cygwin -Wb,--main-module,user32.dll,--heap,65520
|
||||||
|
|
||||||
C_SRCS = \
|
C_SRCS = \
|
||||||
bidi.c \
|
bidi.c \
|
||||||
|
|
|
@ -50,9 +50,6 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
#include "wine/port.h"
|
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
@ -416,7 +413,7 @@ INT16 WINAPI BuildCommDCB16(LPCSTR device, LPDCB16 lpdcb)
|
||||||
|
|
||||||
TRACE("(%s), ptr %p\n", device, lpdcb);
|
TRACE("(%s), ptr %p\n", device, lpdcb);
|
||||||
|
|
||||||
if (_strnicmp(device,"COM",3))
|
if (strnicmp(device,"COM",3))
|
||||||
return -1;
|
return -1;
|
||||||
port = device[3] - '0';
|
port = device[3] - '0';
|
||||||
|
|
||||||
|
@ -457,7 +454,7 @@ INT16 WINAPI OpenComm16(LPCSTR device,UINT16 cbInQueue,UINT16 cbOutQueue)
|
||||||
if (port-- == 0)
|
if (port-- == 0)
|
||||||
ERR("BUG ! COM0 or LPT0 don't exist !\n");
|
ERR("BUG ! COM0 or LPT0 don't exist !\n");
|
||||||
|
|
||||||
if (!_strnicmp(device,"COM",3))
|
if (!strnicmp(device,"COM",3))
|
||||||
{
|
{
|
||||||
if (COM[port].handle)
|
if (COM[port].handle)
|
||||||
return IE_OPEN;
|
return IE_OPEN;
|
||||||
|
@ -508,7 +505,7 @@ INT16 WINAPI OpenComm16(LPCSTR device,UINT16 cbInQueue,UINT16 cbOutQueue)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
if (!_strnicmp(device,"LPT",3)) {
|
if (!strnicmp(device,"LPT",3)) {
|
||||||
|
|
||||||
if (LPT[port].handle)
|
if (LPT[port].handle)
|
||||||
return IE_OPEN;
|
return IE_OPEN;
|
||||||
|
|
|
@ -18,9 +18,6 @@
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
#include "wine/port.h"
|
|
||||||
|
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|
||||||
#include "windef.h"
|
#include "windef.h"
|
||||||
|
|
|
@ -18,9 +18,6 @@
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
#include "wine/port.h"
|
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
|
@ -18,15 +18,10 @@
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#ifdef HAVE_UNISTD_H
|
|
||||||
# include <unistd.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "windef.h"
|
#include "windef.h"
|
||||||
#include "winbase.h"
|
#include "winbase.h"
|
||||||
|
|
Loading…
Reference in New Issue