delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
From: | RayeR <glaux AT centrum DOT cz> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: _rdtsc(void) inline function in time.h - cause problem with |
multiple definition during linking | |
Date: | Tue, 1 Nov 2011 09:53:54 -0700 (PDT) |
Organization: | http://groups.google.com |
Lines: | 8 |
Message-ID: | <51d504c0-738e-4574-8112-730c3dd20756@v5g2000vbh.googlegroups.com> |
References: | <4ce51722-c2fd-4fe0-8cb9-ebae498c3271 AT r1g2000yqm DOT googlegroups DOT com> |
<83k47tc9u2 DOT fsf AT gnu DOT org> <CAA2C=vAn=NZYHMCc58HqfNZ=cdVbom-cE4ZZV1Pz=ziTT8EsNA AT mail DOT gmail DOT com> | |
<65da0e3d-29ea-46ae-b23d-ae08652594aa AT a17g2000yqj DOT googlegroups DOT com> | |
<0a80c084-8135-4c4d-a25c-b56f3eb41e36 AT y36g2000yqm DOT googlegroups DOT com> | |
<CAA2C=vBVOTxMEjm4qhRkMZ8oT6VManx6_m30qgpFqzp4Gz=ZEQ AT mail DOT gmail DOT com> | |
<ec1c078d-cb5d-45c0-8c12-491b8ae012ac AT r28g2000yqj DOT googlegroups DOT com> | |
<CAA2C=vC7F7gz+yQg8FpyiPGu1SZCHOYjcnHd2iqa=-Svof2o1g AT mail DOT gmail DOT com> | |
<ef41aea8-5f10-4695-ae05-e43013abca25 AT q16g2000yqn DOT googlegroups DOT com> | |
<CAA2C=vAdrF7ekUek8oqGXJ6espJ4rUikT3H0AY_cA0sTKRzb+A AT mail DOT gmail DOT com> | |
<4EA8D10E DOT 8030200 AT iki DOT fi> <cfac8d8c-7215-46ef-b7de-d88d59fbf2f6 AT x21g2000yqb DOT googlegroups DOT com> | |
<851c9b46-4f07-439f-bd59-a3a7c0c00f39 AT a12g2000vbz DOT googlegroups DOT com> <9h64ieF40sU1 AT mid DOT dfncis DOT de> | |
NNTP-Posting-Host: | 90.181.199.10 |
Mime-Version: | 1.0 |
X-Trace: | posting.google.com 1320166828 27002 127.0.0.1 (1 Nov 2011 17:00:28 GMT) |
X-Complaints-To: | groups-abuse AT google DOT com |
NNTP-Posting-Date: | Tue, 1 Nov 2011 17:00:28 +0000 (UTC) |
Complaints-To: | groups-abuse AT google DOT com |
Injection-Info: | v5g2000vbh.googlegroups.com; posting-host=90.181.199.10; posting-account=Q0wMHAoAAADjYrghh94FTf6YnbpTqZgp |
User-Agent: | G2/1.0 |
X-Google-Web-Client: | true |
X-Google-Header-Order: | HUALESNKRC |
X-HTTP-UserAgent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) |
Gecko/20110420 SeaMonkey/2.0.14,gzip(gfe) | |
Bytes: | 2476 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id pA1HU9uw027931 |
Reply-To: | djgpp AT delorie DOT com |
> So every program that wants to use these macros actually has to include > <sys/stat.h> to be portable. In that sense, having <fcntl.h> do it > might do users a disservice by providing a false feel of correctness --- > the author of that Linux code you found apparently fell into that trap > already. OK, thanks for explanation, I fixed program sources (bios_extract, not commited yet).
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |