~ubuntu-branches/ubuntu/wily/xmoto/wily-proposed

« back to all changes in this revision

Viewing changes to src/VExcept.h

  • Committer: Bazaar Package Importer
  • Author(s): Samuel Mimram
  • Date: 2006-09-14 21:01:20 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060914210120-bvr7yu9rafb3fivp
Tags: 0.2.1-1
* New upstream release.
* Removed manpages and desktop files from the Debian package as they are now
  provided upstream.
* Make the package binNMUable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
      Exception() {}
35
35
      Exception(const std::string &iMsg)
36
36
        : m_Msg(iMsg) {
37
 
          #if defined(_MSC_VER) && defined(_DEBUG)
 
37
          #if defined(_MSC_VER) && defined(_DEBUG) && defined(BREAK_ON_EXCEPTION)
38
38
            __asm {
39
39
              int 0x03
40
40
            }
42
42
      }
43
43
      Exception(const char *pc)
44
44
        : m_Msg(std::string(pc)) {
45
 
          #if defined(_MSC_VER) && defined(_DEBUG)
 
45
          #if defined(_MSC_VER) && defined(_DEBUG) && defined(BREAK_ON_EXCEPTION)
46
46
            __asm {
47
47
              int 0x03
48
48
            }
63
63
    private:
64
64
  };
65
65
 
66
 
};
 
66
}
67
67
 
68
68
#endif
69
69