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

@@ -86,7 +86,7 @@
# define __SVR4_I386_ABI_L1__
#endif
#include <limits.h> /* pickup WORD_BIT, LONG_BIT */
#if defined(linux) || defined(__FreeBSD__)
#if defined(linux) || defined(CSRG_BASED)
# undef __SVR4_I386_ABI_L1__
# ifndef WORD_BIT
# define WORD_BIT 32

View File

@@ -37,7 +37,7 @@
#include <stdio.h>
#include <stdlib.h>
#include "util/copyright.h"
#if defined(linux) || defined(sgi) || defined(__FreeBSD__)
#if defined(linux) || defined(sgi) || defined(CSRG_BASED)
#include <getopt.h>
#endif
#include "dbck.h"

View File

@@ -42,7 +42,7 @@
#if defined(linux)
#include <unistd.h>
#endif
#if defined(sgi) || defined(__FreeBSD__)
#if defined(sgi) || defined(CSRG_BASED)
#include <getopt.h>
#endif
#if defined(USL) || defined(__uxp__)

View File

@@ -63,7 +63,7 @@
#include <termios.h>
#include <time.h>
#if defined(sgi) || defined(__FreeBSD__)
#if defined(sgi) || defined(CSRG_BASED)
#include <getopt.h>
#endif

View File

@@ -53,7 +53,7 @@
#include <sys/resource.h>
#include <unistd.h>
#if defined(sgi) || defined(__FreeBSD__)
#if defined(sgi) || defined(CSRG_BASED)
#include <getopt.h>
#endif