~ubuntu-branches/ubuntu/maverick/vmware-view-open-client/maverick

« back to all changes in this revision

Viewing changes to lib/open-vm-tools/panic/panic.c

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2010-06-04 17:45:04 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20100604174504-zjltuc0hdp4mv7de
Tags: 4.5.0-264434+dfsg-1
* Merging upstream version 4.5.0-264434+dfsg.
* Updating date and version header in manpage.
* Rediffing doc-pdf.patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
#include <stdarg.h>
33
33
#ifdef _WIN32
34
34
#  include <process.h>
35
 
#  include <Windows.h>
 
35
#  include <windows.h>
 
36
#  ifdef __MINGW32__
 
37
#    define sleep(t) _sleep(t)
 
38
#  endif
36
39
#else // Posix
37
40
#  include <unistd.h>
38
41
#endif // Win32 vs Posix
47
50
#include "config.h"
48
51
#include "util.h"
49
52
#if defined(_WIN32) || !defined(VMX86_TOOLS)
 
53
#ifndef __MINGW32__
50
54
#include "coreDump.h"
51
55
#endif
 
56
#endif
52
57
#ifdef _WIN32
53
58
#include "win32u.h"
54
59
#endif
543
548
 
544
549
   Panic_DumpGuiResources();
545
550
 
546
 
#if defined(_WIN32) ||  !defined(VMX86_TOOLS)
 
551
#if (defined(_WIN32) || !defined(VMX86_TOOLS)) && !defined(__MINGW32__)
547
552
   if (Panic_GetCoreDumpOnPanic()) {
548
553
      CoreDump_CoreDump();
549
554
   }