sync to Wine's latest "warning fixes"
Modified: trunk/reactos/subsys/system/winefile/license.c
Modified: trunk/reactos/subsys/system/winefile/splitpath.c
_____
Modified: trunk/reactos/subsys/system/winefile/license.c
--- trunk/reactos/subsys/system/winefile/license.c 2005-06-17
20:23:31 UTC (rev 16014)
+++ trunk/reactos/subsys/system/winefile/license.c 2005-06-17
20:28:06 UTC (rev 16015)
@@ -16,8 +16,10 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA
*/
-#include "windows.h"
+#include "winefile.h"
+#ifdef __WINE__
+
static const CHAR LicenseCaption[] = "LICENSE";
static const CHAR License[] =
"This library is free software; you can redistribute it and/or "
@@ -50,3 +52,5 @@
{
MessageBoxA(hwnd, NoWarranty, NoWarrantyCaption,
MB_ICONEXCLAMATION|MB_OK);
}
+
+#endif
_____
Modified: trunk/reactos/subsys/system/winefile/splitpath.c
--- trunk/reactos/subsys/system/winefile/splitpath.c 2005-06-17
20:23:31 UTC (rev 16014)
+++ trunk/reactos/subsys/system/winefile/splitpath.c 2005-06-17
20:28:06 UTC (rev 16015)
@@ -16,12 +16,9 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA
*/
-#define WIN32_LEAN_AND_MEAN
-#define WIN32_EXTRA_LEAN
+#include "winefile.h"
-#include <windows.h>
-
#ifdef __WINE__
#ifdef UNICODE
Show replies by date