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:
Jelle Hermsen
2012-09-29 13:14:57 +02:00
committed by Jon Trulson
parent 8cfdf21526
commit b8862cab32
23 changed files with 31 additions and 31 deletions

View File

@@ -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. */

View File

@@ -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