From owner-cvs-src@FreeBSD.ORG Sat Apr 26 04:26:24 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 445C0106566B; Sat, 26 Apr 2008 04:26:24 +0000 (UTC) (envelope-from jb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 1F44D8FC14; Sat, 26 Apr 2008 04:26:24 +0000 (UTC) (envelope-from jb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m3Q4QNii098050; Sat, 26 Apr 2008 04:26:23 GMT (envelope-from jb@repoman.freebsd.org) Received: (from jb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m3Q4QNPj098049; Sat, 26 Apr 2008 04:26:23 GMT (envelope-from jb) Message-Id: <200804260426.m3Q4QNPj098049@repoman.freebsd.org> From: John Birrell Date: Sat, 26 Apr 2008 04:26:23 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/cddl/contrib/opensolaris/lib/libdtrace/common dt_lex.l X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Apr 2008 04:26:24 -0000 jb 2008-04-26 04:26:23 UTC FreeBSD src repository Modified files: cddl/contrib/opensolaris/lib/libdtrace/common dt_lex.l Log: * Define YY_INPUT for flex since input() can't be re-defined. * On FreeBSD define both LITTLE_ENDIAN and BIG_ENDIAN and then set the BYTE_ORDER to the one we are using. On Solaris they define one or the other but not both. For us to keep using FreeBSD header files, we need to use endian definitions the same way we do in pure BSD code. Revision Changes Path 1.2 +0 -0 src/cddl/contrib/opensolaris/lib/libdtrace/common/dt_lex.l