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

« back to all changes in this revision

Viewing changes to lib/open-vm-tools/user/util.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:
39
39
# include <winsock2.h> // also includes windows.h
40
40
# include <io.h>
41
41
# include <process.h>
 
42
#ifndef __MINGW32__
42
43
# include "coreDump.h"
43
44
#endif
 
45
#endif
44
46
 
45
47
#include <fcntl.h>
46
48
#include <stdlib.h>
53
55
#if !defined(_WIN32) && !defined(N_PLAT_NLM)
54
56
#  include <unistd.h>
55
57
#  include <pwd.h>
 
58
#endif
 
59
#ifdef HAVE_DLFCN_H
56
60
#  include <dlfcn.h>
57
61
#endif
58
62
 
745
749
      outFunc(outFuncData, "Backtrace for bugNr=%d\n",bugNr);
746
750
   }
747
751
#if defined(_WIN32)
 
752
#if !defined(__MINGW32__)
748
753
   CoreDump_Backtrace(outFunc, outFuncData);
 
754
#endif
749
755
#else
750
756
   Util_BacktraceFromPointerWithFunc(&x[-2], outFunc, outFuncData);
751
757
#endif