diff options
author | José Fonseca <jfonseca@vmware.com> | 2010-02-02 20:55:08 +0000 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2010-02-02 20:55:08 +0000 |
commit | aa8b49c9ca6b446e335bda4945e48107e5e4128a (patch) | |
tree | 2ffa0d5d3baae9992a6044867f9f24664d5fae16 /src/gallium/include | |
parent | 25357696c3f253d44e83798e2a7e7f1f60c5adc5 (diff) |
gallium: Move some compiler portability stuff into p_compiler.h
Diffstat (limited to 'src/gallium/include')
-rw-r--r-- | src/gallium/include/pipe/p_compiler.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_compiler.h b/src/gallium/include/pipe/p_compiler.h index b02d3ffe43..84956a2ba4 100644 --- a/src/gallium/include/pipe/p_compiler.h +++ b/src/gallium/include/pipe/p_compiler.h @@ -39,6 +39,7 @@ #include "xf86_libc.h" #endif #include <stddef.h> +#include <stdarg.h> #if defined(_WIN32) && !defined(__WIN32__) @@ -126,6 +127,9 @@ typedef unsigned char boolean; # define __FUNCTION__ "<unknown>" # endif # endif +# if defined(_MSC_VER) && _MSC_VER < 1300 +# define __FUNCTION__ "<unknown>" +# endif #endif |