OpenBSD fixes for DtWidget, dtaction, dtappbuilder.
This commit is contained in:
committed by
Jon Trulson
parent
8bbf5a7a1b
commit
3718075b7c
@@ -47,7 +47,9 @@
|
||||
#define _ABOBJ_P_H_
|
||||
|
||||
|
||||
#if !defined(CSRG_BASED)
|
||||
#include <values.h>
|
||||
#endif
|
||||
|
||||
#include <ab_private/abobj.h>
|
||||
#include <ab_private/abobj_set.h>
|
||||
|
||||
@@ -49,7 +49,9 @@
|
||||
***********************************************************************
|
||||
*/
|
||||
#include <stdio.h>
|
||||
#if !defined(CSRG_BASED)
|
||||
#include <values.h>
|
||||
#endif
|
||||
#include <Xm/Xm.h>
|
||||
#include <Xm/List.h>
|
||||
#include <Dt/SpinBox.h>
|
||||
|
||||
@@ -86,6 +86,10 @@
|
||||
#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;
|
||||
|
||||
@@ -47,7 +47,9 @@
|
||||
#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>
|
||||
|
||||
@@ -48,7 +48,9 @@
|
||||
#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>
|
||||
|
||||
@@ -279,7 +279,7 @@ printf_setval(GenCodeInfo genCodeInfo, ABObj obj, ...)
|
||||
{
|
||||
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 };
|
||||
|
||||
@@ -350,7 +350,7 @@ write_func_def_params(
|
||||
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)
|
||||
|
||||
@@ -47,7 +47,9 @@
|
||||
#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>
|
||||
|
||||
Reference in New Issue
Block a user