summaryrefslogtreecommitdiff
path: root/src/s/freebsd.h
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2012-07-12 19:34:05 -0700
committerGlenn Morris <rgm@gnu.org>2012-07-12 19:34:05 -0700
commit983188fd542cdf5704929b27f5c17acb30b6f1ad (patch)
tree50fa2a6a01e1a62ecbfeb9ccaff27e4d8eb5c298 /src/s/freebsd.h
parentd1e6866717a2951394c9779870db56b863ef40a1 (diff)
downloademacs-983188fd542cdf5704929b27f5c17acb30b6f1ad.tar.gz
Move "system type" macros from src/s to configure
* configure.ac (BSD4_2, BSD_SYSTEM, USG, USG5, _AIX, CYGWIN) (DARWIN_OS, GNU_LINUX, HPUX, IRIX6_5, SOLARIS2): Move "system type" macros here from src/s. (BSD_SYSTEM_AHB): New hack macro. (AH_BOTTOM): Set BSD_SYSTEM, using BSD_SYSTEM_AHB. * src/s/usg5-4-common.h (USG, USG5): * src/s/template.h (USG5, USG, HPUX, BSD4_2, BSD_SYSTEM): * src/s/sol2-6.h (SOLARIS2): * src/s/irix6-5.h (IRIX6_5): * src/s/hpux10-20.h (USG, USG5, HPUX): * src/s/gnu-linux.h (USG, GNU_LINUX): * src/s/freebsd.h (BSD_SYSTEM): * src/s/darwin.h (BSD4_2, BSD_SYSTEM, DARWIN_OS): * src/s/cygwin.h (CYGWIN): * src/s/bsd-common.h (BSD_SYSTEM, BSD4_2): * src/s/aix4-2.h (USG, USG5, _AIX): Move "system type" macros to configure.
Diffstat (limited to 'src/s/freebsd.h')
-rw-r--r--src/s/freebsd.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/s/freebsd.h b/src/s/freebsd.h
index 8200238bf1f..f5838266143 100644
--- a/src/s/freebsd.h
+++ b/src/s/freebsd.h
@@ -23,16 +23,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
/* Get most of the stuff from bsd-common */
#include "bsd-common.h"
-/* This silences a few compilation warnings. */
-#undef BSD_SYSTEM
-#if __FreeBSD__ == 1
-#define BSD_SYSTEM 199103
-#elif __FreeBSD__ == 2
-#define BSD_SYSTEM 199306
-#elif __FreeBSD__ >= 3
-#define BSD_SYSTEM 199506
-#endif
-
/* Tell that garbage collector that setjmp is known to save all
registers relevant for conservative garbage collection in the jmp_buf. */
#define GC_SETJMP_WORKS 1