Module Name: src Committed By: alnsn Date: Wed Jun 10 23:16:27 UTC 2015
Modified Files: src/sys/arch/amd64/include: sljit_machdep.h Log Message: Include <i386/sljit_machdep.h> for i386 compat build. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/amd64/include/sljit_machdep.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/amd64/include/sljit_machdep.h diff -u src/sys/arch/amd64/include/sljit_machdep.h:1.1 src/sys/arch/amd64/include/sljit_machdep.h:1.2 --- src/sys/arch/amd64/include/sljit_machdep.h:1.1 Wed Jul 23 18:19:43 2014 +++ src/sys/arch/amd64/include/sljit_machdep.h Wed Jun 10 23:16:27 2015 @@ -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