🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.programmer
Article #3781

timezone macro for autoconf?

#3781
From: Dan Kegel
Date: Mon, 17 Apr 2000 00:00
11 lines
1177 bytes
The Single Unix Standard, v2, defines timezone as
  extern int timezone;

So does Linux.  BSD, though, defines it as
  char *timezone(int zone, int dst);

Does anyone have a good autoconf macro for figuring out
how to get at the timezone offset (the extern int) portably?

Thanks,
Dan
Technical Details
Message-ID: <38FBB4DB.DE12E1C4@alumni.caltech.edu>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 109f73,8ce1c34c9f5a1eaa,start
X-Google-Attributes: gid109f73,public
X-Google-Thread: fc89c,8ce1c34c9f5a1eaa,start
X-Google-Attributes: gidfc89c,public
X-Google-Thread: 10c696,8ce1c34c9f5a1eaa,start
X-Google-Attributes: gid10c696,public
From: Dan Kegel <dank@alumni.caltech.edu>
Subject: timezone macro for autoconf?
Date: 2000/04/17
Message-ID: <38FBB4DB.DE12E1C4@alumni.caltech.edu>
X-Deja-AN: 612482911
Content-Transfer-Encoding: 7bit
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: abuse@pacbell.net
X-Trace: news.pacbell.net 956019855 63.201.176.178 (Mon, 17 Apr 2000 18:04:15 PDT)
Organization: SBC Internet Services
MIME-Version: 1.0
NNTP-Posting-Date: Mon, 17 Apr 2000 18:04:15 PDT
Newsgroups: comp.unix.programmer,comp.os.linux.development.apps,gnu.utils.help