diff options
author | Brad King <brad.king@kitware.com> | 2005-04-21 21:00:36 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2005-04-21 21:00:36 (GMT) |
commit | 2f4e516e230c179cdf7c488f4101aae3a52ac53b (patch) | |
tree | 82a887d59ae00122aed6c0089e8fe2f943e555f5 /Source/CursesDialog/form/form.h | |
parent | cf8a3a15213ab4b3014c1dd148be48a46d3e4f67 (diff) | |
download | CMake-2f4e516e230c179cdf7c488f4101aae3a52ac53b.zip CMake-2f4e516e230c179cdf7c488f4101aae3a52ac53b.tar.gz CMake-2f4e516e230c179cdf7c488f4101aae3a52ac53b.tar.bz2 |
COMP: Using a new work-around for stdarg.h problem on SGI.
Diffstat (limited to 'Source/CursesDialog/form/form.h')
-rw-r--r-- | Source/CursesDialog/form/form.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/Source/CursesDialog/form/form.h b/Source/CursesDialog/form/form.h index 197b510..cb291c4 100644 --- a/Source/CursesDialog/form/form.h +++ b/Source/CursesDialog/form/form.h @@ -39,27 +39,7 @@ #include <curses.h> #include <eti.h> - #include <stdarg.h> -#ifdef __cplusplus -#ifndef va_list -/* - Some compilers move va_list into the std:: namespace and there is no way to - tell that this has been done. Playing with things being included before or - after stdarg.h does not solve things because we do not have control over what - the user does. - This hack solves this problem by moving va_list to our own namespace that is - local for forms. -*/ -namespace std {} /* Required for platforms that do not have std:: */ -namespace cmakeForms_VA_LIST -{ - using namespace std; - typedef va_list hack_va_list; -} -#define va_list cmakeForms_VA_LIST::hack_va_list -#endif /* va_list */ -#endif /* __cplusplus */ #ifdef __cplusplus extern "C" { |