#elif defined(linux)
# include <wctype.h>
# define NO_putwc
+#elif defined(CSRG_BASED)
+# include <wctype.h>
#endif /* linux */
#include <sys/wait.h>
XtSetLanguageProc(NULL, NULL, NULL);
_DtEnvControl(DT_ENV_SET);
- (void) signal(SIGCLD, (void (*)())SIG_IGN);
+ (void) signal(SIGCHLD, (void (*)())SIG_IGN);
/* Initialize the toolkit and open the display */
XtToolkitInitialize() ;
/* fix process gid */
#if defined(SVR4) || defined(_AIX)
setgid(rgid);
-#elif defined(__osf__) || defined(linux)
+#elif defined(__osf__) || defined(linux) || defined(CSRG_BASED)
setregid(rgid, rgid);
#elif defined(__hpux)
setresgid(rgid, rgid, rgid);
/* fix process uid */
#if defined (SVR4) || defined (_AIX)
setuid(ruid);
-#elif defined(__osf__) || defined(linux)
+#elif defined(__osf__) || defined(linux) || defined(CSRG_BASED)
setreuid(ruid, ruid);
#elif defined(__hpux)
setresuid(ruid, ruid, ruid);
#define _ABOBJ_P_H_
+#if !defined(CSRG_BASED)
#include <values.h>
+#endif
#include <ab_private/abobj.h>
#include <ab_private/abobj_set.h>
***********************************************************************
*/
#include <stdio.h>
+#if !defined(CSRG_BASED)
#include <values.h>
+#endif
#include <Xm/Xm.h>
#include <Xm/List.h>
#include <Dt/SpinBox.h>
#include "dtbuilder.h"
#include "revolv_ui.h"
+#if defined(CSRG_BASED)
+#define MAXINT INT_MAX
+#endif
+
char *LabelForString = NULL;
char *LabelForGraphic = NULL;
char *NoneItem = NULL;
#define _PROPS_H_
#include <X11/Intrinsic.h>
+#if !defined(CSRG_BASED)
#include <values.h>
+#endif
#include <limits.h>
#include <ab_private/obj.h>
#include <ab_private/pal.h>
#define _PROPP_H_
#include <X11/Intrinsic.h>
+#if !defined(CSRG_BASED)
#include <values.h>
+#endif
#include <ab_private/obj.h>
#include <ab_private/pal.h>
#include <ab_private/abobj_edit.h>
{
int return_value = 0;
File codeFile = genCodeInfo->code_file;
-#if defined(__osf__) || defined(linux)
+#if defined(__osf__) || defined(linux) || defined(CSRG_BASED)
/* OSF/1 define va_list in <va_list.h> as structure of char ** and int
* Sun define va_list as void * */
va_list paramList = { NULL, 0 };
va_list va_params
)
{
-#if defined(__ppc) || defined(linux)
+#if defined(__ppc) || defined(linux) || defined(CSRG_BASED)
#define va_start_params() __va_copy(params, va_params)
#else
#define va_start_params() (params = va_params)
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
+#if !defined(CSRG_BASED)
#include <values.h>
+#endif
#include <stdlib.h>
#include <sys/param.h>
#include <string.h>