From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id D677E42447 for ; Sat, 21 May 2022 11:08:19 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 19A2968B48F; Sat, 21 May 2022 14:08:16 +0300 (EEST) Received: from msg-1.mailo.com (msg-1.mailo.com [213.182.54.11]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id E481368B475 for ; Sat, 21 May 2022 14:08:09 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mailo.com; s=mailo; t=1653131288; bh=6Gbupayn5eO8HAlPZqhEXH4/LFHb37Q+v1w4GjdOHMY=; h=X-EA-Auth:From:To:Date:Subject:MIME-Version:X-Mailer:Message-ID: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=UAMm2lC7wk0mm/1shZkZGj/vNCjz4xaGWWWH4DZbEN/08DPc0fQId7x2tRCJLDHI9 H10oN3O7Rg7TVQzB2O8Ff3rpffhVZWr8z8zIQYEWOkcERZB7PyTYZPBc0VbtMEs+Yz 8bEF83Q2az1eF8LnryttMEa4kgGaGXDub4ntppo0= Received: by www-7.mailo.com with http webmail; Sat, 21 May 2022 13:08:08 +0200 (CEST) X-EA-Auth: cI+uBNS3JKhDmVdTy89ppxKz82MrDRtlkFKpVA4mf+UcQdUstIy4HemkdOkTebgzxkR7pgqy0vq4ysPCWFS+hgB7JxAnh10K From: nil-admirari@mailo.com To: ffmpeg-devel@ffmpeg.org Date: Sat, 21 May 2022 13:08:08 +0200 (CEST) X-Priority: 3 MIME-Version: 1.0 X-Mailer: COMS/EA21.01/r20220415 Message-ID: In-Reply-To: Subject: Re: [FFmpeg-devel] [PATCH v2 1/2] avutil/wchar_filename, file_open: Support long file names on Windows X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: > I thought the purpose of all those re-mappings would be that plain > Posix functions can still be used..? > It's already the Posix declaration where the function name > is the same as the structure name (stat). Not possible for stat precisely because of function and struct sharing a name. That's why stat is used as # ifndef _WIN32 ret = stat(filename, &st); # else ret = win32_stat(filename, &st); # endif Such blocks are either to be copied across the application, or hidden behind yet another macro. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".