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
@@ -388,7 +388,7 @@ cm_printf(double value, int decimal_pt)
|
||||
}
|
||||
#ifdef SunOS
|
||||
fconvert(value, decimal_pt, &deci_pt, &sign, buf);
|
||||
#elif defined(__FreeBSD__)
|
||||
#elif defined(CSRG_BASED)
|
||||
snprintf(buf, decimal_pt, "%f", value);
|
||||
#else
|
||||
/* this version, available on the HP and AIX machine is not reentrant. */
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
|
||||
static Bool lookForButton(Display *, XEvent *, XPointer);
|
||||
|
||||
#if !defined(linux) && !defined(__FreeBSD__)
|
||||
#if !defined(linux) && !defined(CSRG_BASED)
|
||||
extern char *sys_errlist[];
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user