David Kredba wrote:
Hello.
I have problems on linux with missing _mingw.h with both gcc-3.4.1 and
3.4.2.
It is probably caused by the last cvs commit to
reactos/include/msvcrt/string.h file.
There is mingw32/include/_mingw.h in the cross compiler directory.
Thanks, David
Does the attached patch help?
- Filip
Index: tools/winebuild/Makefile
===================================================================
RCS file: /CVS/ReactOS/reactos/tools/winebuild/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- tools/winebuild/Makefile 27 Sep 2004 08:15:07 -0000 1.6
+++ tools/winebuild/Makefile 26 Dec 2004 17:22:04 -0000
@@ -22,7 +22,7 @@
CLEAN_FILES = *.o $(TARGET)
-HOST_CFLAGS = -D__USE_W32API -I$(PATH_TO_TOP)/include -I$(PATH_TO_TOP)/include/wine
-I$(W32API_PATH)/include
+HOST_CFLAGS = -D__USE_W32API -I$(PATH_TO_TOP)/include/wine
%.o: %.c
$(HOST_CC) $(HOST_CFLAGS) -c $< -o $@
Index: tools/winebuild/import.c
===================================================================
RCS file: /CVS/ReactOS/reactos/tools/winebuild/import.c,v
retrieving revision 1.4
diff -u -r1.4 import.c
--- tools/winebuild/import.c 23 Sep 2004 20:27:30 -0000 1.4
+++ tools/winebuild/import.c 26 Dec 2004 17:24:28 -0000
@@ -20,7 +20,6 @@
*/
#include "config.h"
-#include "wine/port.h"
#include <ctype.h>
#include <fcntl.h>
Index: tools/winebuild/main.c
===================================================================
RCS file: /CVS/ReactOS/reactos/tools/winebuild/main.c,v
retrieving revision 1.5
diff -u -r1.5 main.c
--- tools/winebuild/main.c 2 Nov 2004 19:47:18 -0000 1.5
+++ tools/winebuild/main.c 26 Dec 2004 17:25:36 -0000
@@ -23,7 +23,6 @@
*/
#include "config.h"
-#include "wine/port.h"
#include <assert.h>
#include <stdio.h>
Index: tools/winebuild/mkstemps.c
===================================================================
RCS file: /CVS/ReactOS/reactos/tools/winebuild/mkstemps.c,v
retrieving revision 1.1
diff -u -r1.1 mkstemps.c
--- tools/winebuild/mkstemps.c 5 Jan 2004 19:49:59 -0000 1.1
+++ tools/winebuild/mkstemps.c 26 Dec 2004 17:25:40 -0000
@@ -17,7 +17,6 @@
Boston, MA 02111-1307, USA. */
#include "config.h"
-#include "wine/port.h"
#include <sys/types.h>
#include <stdlib.h>
Index: tools/winebuild/parser.c
===================================================================
RCS file: /CVS/ReactOS/reactos/tools/winebuild/parser.c,v
retrieving revision 1.3
diff -u -r1.3 parser.c
--- tools/winebuild/parser.c 23 Sep 2004 20:27:30 -0000 1.3
+++ tools/winebuild/parser.c 26 Dec 2004 17:25:44 -0000
@@ -23,7 +23,6 @@
*/
#include "config.h"
-#include "wine/port.h"
#include <assert.h>
#include <ctype.h>
Index: tools/winebuild/relay.c
===================================================================
RCS file: /CVS/ReactOS/reactos/tools/winebuild/relay.c,v
retrieving revision 1.2
diff -u -r1.2 relay.c
--- tools/winebuild/relay.c 23 Sep 2004 20:27:30 -0000 1.2
+++ tools/winebuild/relay.c 26 Dec 2004 17:25:46 -0000
@@ -23,7 +23,6 @@
*/
#include "config.h"
-#include "wine/port.h"
#include <ctype.h>
Index: tools/winebuild/res16.c
===================================================================
RCS file: /CVS/ReactOS/reactos/tools/winebuild/res16.c,v
retrieving revision 1.3
diff -u -r1.3 res16.c
--- tools/winebuild/res16.c 23 Sep 2004 20:27:30 -0000 1.3
+++ tools/winebuild/res16.c 26 Dec 2004 17:25:52 -0000
@@ -19,7 +19,6 @@
*/
#include "config.h"
-#include "wine/port.h"
#include <ctype.h>
#include <stdlib.h>
Index: tools/winebuild/res32.c
===================================================================
RCS file: /CVS/ReactOS/reactos/tools/winebuild/res32.c,v
retrieving revision 1.3
diff -u -r1.3 res32.c
--- tools/winebuild/res32.c 23 Sep 2004 20:27:30 -0000 1.3
+++ tools/winebuild/res32.c 26 Dec 2004 17:26:00 -0000
@@ -19,7 +19,6 @@
*/
#include "config.h"
-#include "wine/port.h"
#include <ctype.h>
#include <stdlib.h>
Index: tools/winebuild/spec32.c
===================================================================
RCS file: /CVS/ReactOS/reactos/tools/winebuild/spec32.c,v
retrieving revision 1.8
diff -u -r1.8 spec32.c
--- tools/winebuild/spec32.c 24 Nov 2004 20:11:52 -0000 1.8
+++ tools/winebuild/spec32.c 26 Dec 2004 17:26:04 -0000
@@ -23,7 +23,6 @@
*/
#include "config.h"
-#include "wine/port.h"
#include <assert.h>
#include <ctype.h>
Index: tools/winebuild/utils.c
===================================================================
RCS file: /CVS/ReactOS/reactos/tools/winebuild/utils.c,v
retrieving revision 1.3
diff -u -r1.3 utils.c
--- tools/winebuild/utils.c 23 Sep 2004 20:27:30 -0000 1.3
+++ tools/winebuild/utils.c 26 Dec 2004 17:26:12 -0000
@@ -19,7 +19,6 @@
*/
#include "config.h"
-#include "wine/port.h"
#if !defined(WIN32)
#undef strdup