git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@2987
91ce42f0-d328-0410-95d8-
f526ca767f89
General:
29Apr06
+- Fix problem of accents with new Win32 code.
- Integrate Howard's VSS patch. Tweak it a bit. VSS now
works in the MinGW build with the exception that there
is a problem with accented characters -- i.e. there is
#ifdef HAVE_MINGW
#include "mingwconfig.h"
#include "winhost.h"
+#define _STAT_H /* don't pull in MinGW stat.h */
+#define _STAT_DEFINED /* don't pull in MinGW stat.h */
#else
#include "winconfig.h"
#include "winhost.h"
#if defined(HAVE_WIN32) & !defined(HAVE_MINGW)
#include <winsock2.h>
#else
-#include <sys/stat.h>
+//#include <sys/stat.h>
#endif
#include <sys/time.h>
#if HAVE_SYS_WAIT_H
// WinUPS header file
+#ifdef HAVE_MINGW
+#include "compat.h"
+#endif
+
#define STRICT 1
#include <windows.h>
#include <stdio.h>
#include <process.h>
#include "winres.h"
-#ifdef HAVE_MINGW
-#include "compat.h"
-#endif
// Application specific messages