From nobody Fri May 24 02:03:33 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VlpHB17rzz5LMKt; Fri, 24 May 2024 02:03:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VlpHB0dhfz4hMt; Fri, 24 May 2024 02:03:34 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716516214; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=FebYLscS2ULzbrtGIqrjS/AQmk5fBNkgECfVLuGx+qA=; b=STgAxl6APoBsdASD669B/727A1t1hqengQMKM0n7fVwt3wlYriHFKUxhIK7vdqJw3wE4Bo 7uctflSDAnlN3OYB+h/im6uhse9s6bPcaH/4CUjm1j/Jozix0HP81tJ0KL/PYR+Q6r4LDo wCcOUWXTVuHhStOML7a+1xG7gMcok566DCQpCowqWHRoe043rCs9D1A9NcVRAQIbuTVFkK KQCU+9Tnooazhau9jRNoDlpj9s1iFFHgwXm9Gy1eQlt8njYzZ0JYvj2g6wVoYna173EEJ9 KCJ6rTO0/RMB//XMRejyC+fzzV78GLwrluAlNqOwsxLmhSMTbbe5HFXxSGwzXQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716516214; a=rsa-sha256; cv=none; b=vMJ+XbP7a8n2L3UbfQnyyn5k0sCvt+s6S2Bv233GioCAGtPoxGMoudWS1T7vHEZ3GpR55N MUjAyo3E3gt6MKEAvapLTAy2/DpsARYoW34gWQueHUZkUFBZQGWGHCzlA1Z3gpWHzS+rH9 f78/aME8AbA8JS8XwhLUDre4B3tP6iW/SpsctiOKl2HfqKbtP/UpuNt++EWcHKr8q68Jnx pBsPpTYZgma1BFUUdcscR0Z2ciLuaymlSj+xki1qkidFSntePbSJv7lGYXOtNP2qRvw8qK jUDxQUBunX/3DMeEvHupGl5hC+ZTs0oP0vsexeZyHqPiJGa38nX3jFNKNM+E5Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716516214; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=FebYLscS2ULzbrtGIqrjS/AQmk5fBNkgECfVLuGx+qA=; b=fi3dd70yjnPUyVJnEs52/N39dMccv3jRLnsFlQuDmhTQWw8S3eD3fzWjsD125oI4vt9Vbl ykaNOjF/2z+MENV/XktrTnQrZdC2mJ/KzmgBtj0MEV4y6KOhEBJ0OzGvgcH5Swsv2p1apR EryUa54hYvTqoYsSJfPWbfUMTuXN2/huRJ3irPcGUiL3+cxPFNUlC/aWuUEvlfKsgghzeX HTkwEP4504AG1njQwuCBofIAMIO5TwyCpW3mSRMEWAd9ocdCxcaI1RmOjoOWrbK40U6bFA WSVinX1JdhBpLijjGWUx7NFjWAa89NuKuI/CVuLaUl39a5N8QborMhCyP92XxA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VlpHB0FLDzDht; Fri, 24 May 2024 02:03:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 44O23XjE028945; Fri, 24 May 2024 02:03:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44O23X3M028942; Fri, 24 May 2024 02:03:33 GMT (envelope-from git) Date: Fri, 24 May 2024 02:03:33 GMT Message-Id: <202405240203.44O23X3M028942@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 59aa64914aeb - main - cross: Move Solaris API64 defines to common List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 59aa64914aeb1b2cccc0d4fc39ead2ee159a1e5b Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=59aa64914aeb1b2cccc0d4fc39ead2ee159a1e5b commit 59aa64914aeb1b2cccc0d4fc39ead2ee159a1e5b Author: Val Packett AuthorDate: 2024-05-23 21:49:53 +0000 Commit: Warner Losh CommitDate: 2024-05-24 02:03:18 +0000 cross: Move Solaris API64 defines to common off64_t is needed for both Linux (musl) and MacOS, so move them to the common area. Somehow glibc provides the definition, but defining it doesn't hurt and hels in the musl case. Reviewed by: allanjude, jrtc27 Pull Request: https://github.com/freebsd/freebsd-src/pull/1066 --- tools/build/cross-build/include/common/sys/_types.h | 3 +++ tools/build/cross-build/include/mac/sys/_types.h | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/build/cross-build/include/common/sys/_types.h b/tools/build/cross-build/include/common/sys/_types.h index 650edc8080d0..408f0537d1e6 100644 --- a/tools/build/cross-build/include/common/sys/_types.h +++ b/tools/build/cross-build/include/common/sys/_types.h @@ -45,3 +45,6 @@ * Neither GLibc nor macOS define __va_list but many FreeBSD headers require it. */ typedef __builtin_va_list __va_list; + +/* Needed for opensolaris compat. */ +typedef __int64_t off64_t; diff --git a/tools/build/cross-build/include/mac/sys/_types.h b/tools/build/cross-build/include/mac/sys/_types.h index 5ca37580b85a..8d39fc39f087 100644 --- a/tools/build/cross-build/include/mac/sys/_types.h +++ b/tools/build/cross-build/include/mac/sys/_types.h @@ -41,5 +41,3 @@ * __darwin_ct_rune_t exists. */ typedef __darwin_ct_rune_t __ct_rune_t; -/* Needed for opensolaris compat. */ -typedef __int64_t off64_t;