diff options
author | Berk Geveci <berk.geveci@kitware.com> | 2001-11-08 22:03:52 (GMT) |
---|---|---|
committer | Berk Geveci <berk.geveci@kitware.com> | 2001-11-08 22:03:52 (GMT) |
commit | 777ec992196f30b98a2c164caae8959f8b8a2a50 (patch) | |
tree | 2051a4a48840b272532f6844170acbbeb636ba6a /Source/CursesDialog/form | |
parent | 05717b3dab73da8c2176f37cbe9c8c2814cf47f2 (diff) | |
download | CMake-777ec992196f30b98a2c164caae8959f8b8a2a50.zip CMake-777ec992196f30b98a2c164caae8959f8b8a2a50.tar.gz CMake-777ec992196f30b98a2c164caae8959f8b8a2a50.tar.bz2 |
Changes to remove warnings and fix dependencies.
Diffstat (limited to 'Source/CursesDialog/form')
-rw-r--r-- | Source/CursesDialog/form/CMakeLists.txt | 2 | ||||
-rw-r--r-- | Source/CursesDialog/form/form.h | 11 | ||||
-rw-r--r-- | Source/CursesDialog/form/nc_alloc.h | 2 |
3 files changed, 14 insertions, 1 deletions
diff --git a/Source/CursesDialog/form/CMakeLists.txt b/Source/CursesDialog/form/CMakeLists.txt index 7691bc9..32c17eb 100644 --- a/Source/CursesDialog/form/CMakeLists.txt +++ b/Source/CursesDialog/form/CMakeLists.txt @@ -1,5 +1,7 @@ PROJECT(CMAKE_FORM) +INCLUDE_REGULAR_EXPRESSION("^.*$") + SOURCE_FILES(FORM_SRCS fld_arg.c fld_attr.c diff --git a/Source/CursesDialog/form/form.h b/Source/CursesDialog/form/form.h index d0777da..e18dfee 100644 --- a/Source/CursesDialog/form/form.h +++ b/Source/CursesDialog/form/form.h @@ -33,7 +33,18 @@ #ifndef FORM_H #define FORM_H +#if defined(__sun__) && defined(__GNUC__) + #define _MSE_INT_H +#endif + +#define _BOOL_DEFINED +#include <sys/time.h> +#ifndef _XOPEN_SOURCE_EXTENDED + #define _XOPEN_SOURCE_EXTENDED +#endif /* XOPEN_SOURCE_EXTENDED */ #include <curses.h> +#undef _XOPEN_SOURCE_EXTENDED + #include <eti.h> #include <stdarg.h> diff --git a/Source/CursesDialog/form/nc_alloc.h b/Source/CursesDialog/form/nc_alloc.h index 80ce3f4..f49ea93 100644 --- a/Source/CursesDialog/form/nc_alloc.h +++ b/Source/CursesDialog/form/nc_alloc.h @@ -72,7 +72,7 @@ extern void _nc_leaks_dump_entry(void); /* doalloc.c */ extern void *_nc_doalloc(void *, size_t); #if !HAVE_STRDUP -#define strdup _nc_strdup +/* #define strdup _nc_strdup */ extern char *_nc_strdup(const char *); #endif |