Skip to content

Commit

Permalink
Apply Guichan's changes from c53768e2b5994d460ce6478103b6fdbe57b5aecb…
Browse files Browse the repository at this point in the history
… (May 10th 2008)

Borland compile issue has been fixed. The __FUNCTION__ define is apparently not available with Borland compilers.
  • Loading branch information
Jarod42 committed Aug 23, 2024
1 parent 0d04f0b commit 4e83b5f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion TODO
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
* Continue rebasing from a154429864dc2a948d29f21cdcdf688177bb54a8
* Continue rebasing from faa1ff7131c82dde9d83c779b9e7ba2dc9170310
* Add a focus listener interface.
* Make focus apply synchronously.
* Graphics and input objects for DirectX.
Expand Down
15 changes: 6 additions & 9 deletions include/guisan/exception.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,9 @@

#include "guisan/platform.hpp"


#ifdef _MSC_VER
#if _MSC_VER <= 1200
#define __FUNCTION__ "?"
#endif
#endif
# ifndef __FUNCTION__
# define __FUNCTION__ "?"
# endif

/*
* A macro used to create a standard exception object.
Expand All @@ -84,9 +81,9 @@ namespace gcn

/**
* An exception containing a message, a file and a line number
* where the exception occured. Guisan will only throw exceptions
* of this class.
*
* where the exception occured. Guisan will only throw exceptions
* of this class.
*
* You can use this class for your own exceptions that has
* something to do with a GUI exception. A nifty feature of the
* excpetion class is that it can tell you from which line and
Expand Down

0 comments on commit 4e83b5f

Please sign in to comment.