Changed a couple of ifdefs for __FreeBSD__ to CSRG_BASED. These are all clearcut cases. I left the ones I had doubts about, or where I wasn't sure about the OpenBSD side of things to look at later.
This commit is contained in:
committed by
Jon Trulson
parent
8cfdf21526
commit
b8862cab32
@@ -140,7 +140,7 @@ static void register_palette_info(
|
||||
** **
|
||||
**************************************************************************/
|
||||
|
||||
#if !defined(linux) && !defined(__FreeBSD__)
|
||||
#if !defined(linux) && !defined(CSRG_BASED)
|
||||
extern char *sys_errlist[];
|
||||
#endif
|
||||
|
||||
|
||||
@@ -228,7 +228,7 @@ static XtTranslations proj_transtbl = NULL;
|
||||
static XRectangle *rband_rect = NULL;
|
||||
static Boolean mselect_adjust = False;
|
||||
|
||||
#if !defined(linux) && !defined(__FreeBSD__)
|
||||
#if !defined(linux) && !defined(CSRG_BASED)
|
||||
extern char *sys_errlist[];
|
||||
#endif
|
||||
char Buf[MAXPATHLEN]; /* Work buffer */
|
||||
|
||||
@@ -93,7 +93,7 @@ static void mult_module_selected(
|
||||
** **
|
||||
**************************************************************************/
|
||||
|
||||
#if !defined(linux) && !defined(__FreeBSD__)
|
||||
#if !defined(linux) && !defined(CSRG_BASED)
|
||||
extern char *sys_errlist[];
|
||||
#endif
|
||||
char Buf[MAXPATHLEN]; /* Work buffer */
|
||||
|
||||
@@ -180,7 +180,7 @@ static void notify_proj_save_as_okCB(
|
||||
** **
|
||||
**************************************************************************/
|
||||
|
||||
#if !defined(linux) && !defined(__FreeBSD__)
|
||||
#if !defined(linux) && !defined(CSRG_BASED)
|
||||
extern char *sys_errlist[];
|
||||
#endif
|
||||
|
||||
|
||||
@@ -350,9 +350,9 @@ write_func_def_params(
|
||||
va_list va_params
|
||||
)
|
||||
{
|
||||
#if defined(__ppc) || defined(linux) || defined(__OpenBSD__)
|
||||
#if defined(__ppc)
|
||||
#define va_start_params() __va_copy(params, va_params)
|
||||
#elif defined(__FreeBSD__)
|
||||
#elif defined(CSRG_BASED) || defined(linux)
|
||||
#define va_start_params() va_copy(params, va_params)
|
||||
#else
|
||||
#define va_start_params() (params = va_params)
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
|
||||
BIL_LOAD_INFO bilP_load;
|
||||
char Buf[MAXPATHLEN];
|
||||
#if !defined(linux) && !defined(__FreeBSD__)
|
||||
#if !defined(linux) && !defined(CSRG_BASED)
|
||||
extern char *sys_errlist[];
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user