Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/amd64/include Include <i386/sljit_machdep.h> for i3...



details:   https://anonhg.NetBSD.org/src/rev/030006075d0c
branches:  trunk
changeset: 338830:030006075d0c
user:      alnsn <alnsn%NetBSD.org@localhost>
date:      Wed Jun 10 23:16:27 2015 +0000

description:
Include <i386/sljit_machdep.h> for i386 compat build.

diffstat:

 sys/arch/amd64/include/sljit_machdep.h |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (26 lines):

diff -r a8deab6cc134 -r 030006075d0c sys/arch/amd64/include/sljit_machdep.h
--- a/sys/arch/amd64/include/sljit_machdep.h    Wed Jun 10 22:40:37 2015 +0000
+++ b/sys/arch/amd64/include/sljit_machdep.h    Wed Jun 10 23:16:27 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sljit_machdep.h,v 1.1 2014/07/23 18:19:43 alnsn Exp $  */
+/*     $NetBSD: sljit_machdep.h,v 1.2 2015/06/10 23:16:27 alnsn Exp $  */
 
 /*-
  * Copyright (c) 2012-2013 The NetBSD Foundation, Inc.
@@ -29,8 +29,16 @@
 #ifndef _AMD64_SLJITARCH_H
 #define _AMD64_SLJITARCH_H
 
+#if !defined __i386__
+
 #define SLJIT_CONFIG_X86_64 1
 
 #define SLJIT_CACHE_FLUSH(from, to)
 
+#else  /*      !__i386__       */
+
+#include <i386/sljit_machdep.h>
+
 #endif
+
+#endif



Home | Main Index | Thread Index | Old Index