mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
updated tests for defining __FUNCTION__ (Dan Schikore)
This commit is contained in:
parent
09c8e41955
commit
a186c80788
1 changed files with 6 additions and 3 deletions
|
|
@ -247,9 +247,12 @@
|
|||
* Don't define it if using a newer Windows compiler.
|
||||
*/
|
||||
#if defined(__VMS)
|
||||
#define __FUNCTION__ "VMS$NL:"
|
||||
#elif !(defined(__GNUC__) && __GNUC__ >= 2) && !(defined(_MSC_VER) && _MSC_VER >= 1300)
|
||||
#define __FUNCTION__ "unknown"
|
||||
# define __FUNCTION__ "VMS$NL:"
|
||||
#elif __STDC_VERSION__ < 199901L
|
||||
# if ((!defined __GNUC__) || (__GNUC__ < 2)) && (!defined __xlC__) && \
|
||||
(!defined(_MSC_VER) || _MSC_VER < 1300)
|
||||
# define __FUNCTION__ "<unknown>"
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue