From fb872b46e93c55492fe9b2a1814727de0d1f71c3 Mon Sep 17 00:00:00 2001 From: cascade Date: Wed, 15 Aug 2007 13:11:45 +0000 Subject: [PATCH] OCC16602 Fix rollback - compilation errors on WNT --- src/WOKTclLib/config.h | 446 --------------------------------------- src/WOKTclLib/wokPRM.tcl | 2 +- 2 files changed, 1 insertion(+), 447 deletions(-) diff --git a/src/WOKTclLib/config.h b/src/WOKTclLib/config.h index 72113aa..02c0736 100755 --- a/src/WOKTclLib/config.h +++ b/src/WOKTclLib/config.h @@ -1426,452 +1426,6 @@ /* End HPUX Part */ -/* Mac OS X definitions - provided by Torsten Sadowski */ - -#elif defined(__APPLE__) - -#undef DEF_IOS_OK -#define HAVE_ALLOCA_H 1 -#define HAVE_FSTREAM 1 -#define HAVE_IOSTREAM 1 -#define HAVE_IOMANIP 1 -/*#define HAVE_BITS_SIGSET_H 1*/ -#define HAVE_DIRENT_H 1 -#define HAVE_DLFCN_H 1 -#define HAVE_DPS_DPSXCLIENT_H 1 -#define HAVE_FINITE -#define HAVE_FLOAT_H 1 -#define HAVE_GETHOSTNAME 1 -#define HAVE_GETOPT_H 1 -#define HAVE_INTTYPES_H 1 -#define HAVE_IOMANIP_H 1 -#define HAVE_IOS 1 -#define HAVE_ISTREAM 1 -#define HAVE_LIMITS_H 1 -/*#define HAVE_MALLOC_H 1*/ -#define HAVE_MEMORY_H 1 -#define HAVE_NETDB_H 1 -#define HAVE_NET_IF_H 1 -#define HAVE_PUTENV 1 -#define HAVE_PWD_H 1 -#define HAVE_REGCOMP 1 -#define HAVE_RE_COMP 1 -#define HAVE_SIGNAL_H 1 -#define HAVE_STATFS 1 -/*#define HAVE_STATVFS 1*/ -#define HAVE_STDINT_H 1 -#define HAVE_STDLIB_H 1 -#define HAVE_STRCSPN 1 -#define HAVE_STRDUP 1 -#define HAVE_STREAM_H 1 -#define HAVE_STRINGS_H 1 -#define HAVE_STRING_H 1 -#define HAVE_STRSTREAM_H 1 -#define HAVE_STRTOL 1 -#define HAVE_SYS_DIR_H 1 -#define HAVE_SYS_IOCTL_H 1 -#define HAVE_SYS_IPC_H 1 -#define HAVE_SYS_MMAN_H 1 -#define HAVE_SYS_PARAM_H 1 -#define HAVE_SYS_SELECT_H 1 -#define HAVE_SYS_SEM_H 1 -#define SEMUN_DEFINED -#define HAVE_SYS_SIGNAL_H 1 -#define HAVE_SYS_SOCKET_H 1 -#define HAVE_SYS_STATVFS_H 1 -#define HAVE_SYS_STAT_H 1 -#define HAVE_SYS_TIMES_H 1 -#define HAVE_SYS_TIME_H 1 -#define HAVE_SYS_TYPES_H 1 -#define HAVE_SYS_UNISTD_H 1 -#define HAVE_SYS_UTSNAME_H 1 -/*#define HAVE_SYS_VFS_H 1*/ -#define HAVE_TIME_H 1 -#define HAVE_UNISTD_H 1 -/*#define HAVE_VALUES_H 1*/ -#define HAVE_X11_EXTENSIONS_MULTIBUF_H 1 -#define OSTREAM_FORM_OK -#define PACKAGE "OpenCAS" -#define PROTOTYPES 1 -#define RETSIGTYPE void -#define STDC_HEADERS 1 -#define VERSION "4.0DVP1" -#ifndef _ALL_SOURCE -/* # undef _ALL_SOURCE */ -#endif -#ifdef __BIG_ENDIAN__ -#define WORDS_BIGENDIAN 1 -#endif - -/*-----------------------------------------------------------*/ -/* This part is extracted from config.h generated on FreeBSD */ -/*-----------------------------------------------------------*/ - -#elif defined(FREEBSD) - -/* config.h. Generated by configure. */ -/* config.h.in. Generated from configure.in by autoheader. */ - -/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP - systems. This function is required for `alloca.c' support on those systems. - */ -/* #undef CRAY_STACKSEG_END */ - -/* Define to 1 if using `alloca.c'. */ -/* #undef C_ALLOCA */ - -/* define if the compiler allows redefinition of stream input and output */ -/* #undef DEF_IOS_OK */ - -/* Define to 1 if you have `alloca', as a function or macro. */ -#define HAVE_ALLOCA 1 - -/* Define to 1 if you have and it should be used (not on Ultrix). - */ -/* #undef HAVE_ALLOCA_H */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_BITS_SIGSET_H */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_BSTRING_H */ - -/* Define to 1 if you have the header file. */ -#define HAVE_DIRENT_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_DLFCN_H 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_DL_H */ - -/* Define to 1 if you have the header file. */ -#define HAVE_DPS_DPSXCLIENT_H 1 - -/* Define if we have a function called "finite" in -lm. */ -#define HAVE_FINITE - -/* Define to 1 if you have the header file. */ -#define HAVE_FLOATINGPOINT_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_FLOAT_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_FSTREAM 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_FSTREAM_H 1 - -/* Define to 1 if you have the `gethostname' function. */ -#define HAVE_GETHOSTNAME 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_GETOPT_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_IEEEFP_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_INTTYPES_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_IOMANIP 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_IOMANIP_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_IOS 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_IOSTREAM 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_IOSTREAM_H 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_IOS_H */ - -/* Define to 1 if you have the header file. */ -#define HAVE_ISTREAM 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_ISTREAM_H 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_LIBC_H */ - -/* Define to 1 if you have the `e' library (-le). */ -/* #undef HAVE_LIBE */ - -/* Define to 1 if you have the `inks' library (-links). */ -/* #undef HAVE_LIBINKS */ - -/* Define to 1 if you have the header file. */ -#define HAVE_LIMITS_H 1 - -/* Define if we have a function called "mallinfo" in -lmalloc. */ -/* #undef HAVE_MALLINFO */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_MALLOC_H */ - -/* Define to 1 if you have the header file. */ -#define HAVE_MEMORY_H 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_NDIR_H */ - -/* Define to 1 if you have the header file. */ -#define HAVE_NETDB_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_NET_IF_H 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_OSFCN_H */ - -/* Define to 1 if you have the header file. */ -#define HAVE_OSTREAM 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_OSTREAM_H 1 - -/* Define to 1 if you have the `putenv' function. */ -/* #undef HAVE_PUTENV */ - -/* Define to 1 if you have the header file. */ -#define HAVE_PWD_H 1 - -/* Define to 1 if you have the `regcomp' function. */ -#define HAVE_REGCOMP 1 - -/* Define to 1 if you have the `re_comp' function. */ -/* #undef HAVE_RE_COMP */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SIGFPE_H */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SIGINFO_H */ - -/* Define to 1 if you have the header file. */ -#define HAVE_SIGNAL_H 1 - -/* Define to 1 if you have the `statfs' function. */ -#define HAVE_STATFS 1 - -/* Define to 1 if you have the `statvfs' function. */ -#define HAVE_STATVFS 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STDINT_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STDLIB_H 1 - -/* Define to 1 if you have the `strcspn' function. */ -#define HAVE_STRCSPN 1 - -/* Define to 1 if you have the `strdup' function. */ -#define HAVE_STRDUP 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STREAM_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STRINGS_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STRING_H 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_STRSTREAM_H */ - -/* Define to 1 if you have the `strtol' function. */ -/* #undef HAVE_STRTOL */ - -/* Define if we have a function called "ieee_handler" in -lsunmath. */ -/* #undef HAVE_SUNMATH */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SYSENT_H */ - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_DIR_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_FILIO_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_IOCTL_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_IPC_H 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SYS_MACHSIG_H */ - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_MMAN_H 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SYS_NDIR_H */ - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_PARAM_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_SELECT_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_SEM_H 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SYS_SIGINFO_H */ - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_SIGNAL_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_SOCKET_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_STATVFS_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_STAT_H 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SYS_SYSTEMINFO_H */ - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_TIMES_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_TIME_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_TYPES_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_UNISTD_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_UTSNAME_H 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SYS_VFS_H */ - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_VNODE_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_TIME_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_UNISTD_H 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_VALUES_H */ - -/* Define to 1 if you have the header file. */ -#define HAVE_X11_EXTENSIONS_MULTIBUF_H 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_X11_EXTENSIONS_READDISPLAY_H */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_X11_EXTENSIONS_TRANSOVL_H */ - -/* Define to 1 if you have the header file. */ -#define HAVE_XMU_EDITRES_H 1 - -/* Define to 1 if your C compiler doesn't accept -c and -o together. */ -/* #undef NO_MINUS_C_MINUS_O */ - -/* define if the class ostream has member function form */ -/* #undef OSTREAM_FORM_OK */ - -/* Name of package */ -#define PACKAGE "OpenCAS" - -/* Define to the address where bug reports for this package should be sent. */ -#define PACKAGE_BUGREPORT "" - -/* Define to the full name of this package. */ -#define PACKAGE_NAME "" - -/* Define to the full name and version of this package. */ -#define PACKAGE_STRING "" - -/* Define to the one symbol short name of this package. */ -#define PACKAGE_TARNAME "" - -/* Define to the version of this package. */ -#define PACKAGE_VERSION "" - -/* Define if compiler has function prototypes */ -#define PROTOTYPES 1 - -/* Define as the return type of signal handlers (`int' or `void'). */ -#define RETSIGTYPE void - -/* define if the function semctl takes a value */ -/* #undef SEMCTL_NO_REFERENCE */ - -/* define if the function semop takes a value */ -/* #undef SEMOP_NO_REFERENCE */ - -/* define if semun has member __buf */ -/* #undef SEMUN_BUF_DEFINED */ - -/* define if the union semun is in sys/sem.h */ -#define SEMUN_DEFINED - -/* If using the C implementation of alloca, define if you know the - direction of stack growth for your system; otherwise it will be - automatically deduced at run-time. - STACK_DIRECTION > 0 => grows toward higher addresses - STACK_DIRECTION < 0 => grows toward lower addresses - STACK_DIRECTION = 0 => direction of growth unknown */ -/* #undef STACK_DIRECTION */ - -/* Define to 1 if you have the ANSI C header files. */ -#define STDC_HEADERS 1 - -/* Define to 1 if your declares `struct tm'. */ -/* #undef TM_IN_SYS_TIME */ - -/* Version number of package */ -#define VERSION "5.0DVP1" - -/* Define to 1 if your processor stores words with the most significant byte - first (like Motorola and SPARC, unlike Intel and VAX). */ -/* #undef WORDS_BIGENDIAN */ - -/* Define to 1 if on AIX 3. - System headers sometimes define this. - We just want to avoid a redefinition error message. */ -#ifndef _ALL_SOURCE -/* # undef _ALL_SOURCE */ -#endif - -/* Define to `unsigned' if does not define. */ -/* #undef size_t */ - -/* End FreeBSD Part */ - -/*-----------------------------------------------------------*/ -/* Adaptation for Windows */ -/*-----------------------------------------------------------*/ - -#elif defined(WNT) - -#define HAVE_MALLOC_H 1 -#define HAVE_STDLIB_H 1 - #endif diff --git a/src/WOKTclLib/wokPRM.tcl b/src/WOKTclLib/wokPRM.tcl index 9e7e21d..6b3b715 100755 --- a/src/WOKTclLib/wokPRM.tcl +++ b/src/WOKTclLib/wokPRM.tcl @@ -188,7 +188,7 @@ proc wokPRM:Modify { adr nb page } { tixForm $IWOK_GLOBALS(PRM,Modify,wrkst,but,all) -top 2 set prev {} ; set curr {} ;set curwrkst [wokprofile -s] - foreach x [list sun sil ao1 hp wnt lin bsd mac] { + foreach x [list sun sil ao1 hp wnt lin] { set curr [string tolower ${wrkst}.${x}] checkbutton $curr -text $x -variable IWOK_GLOBALS(PRM,Modify,wrkst,$x) -command wokPRM:wrkst -- 2.39.5