[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Windows Build Issue: function getpass prototype needed
From: |
Derek Robert Price |
Subject: |
Re: Windows Build Issue: function getpass prototype needed |
Date: |
Tue, 11 May 2004 19:19:32 -0400 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040413 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Mark D. Baushke wrote:
> Actually, for a C89 or C99 prototype, you can drop the 'extern ' part
> of the line and just use:
>
> char * getpass (const char *prompt);
>
> for what it is worth, under FreeBSD and GNU/Linux, the declaration is
> found in the <unistd.h> include file.
>
> >I'd like some input as to the best place to put it.
>
>
> I suppose it would make as much sense as anything to have you creatae
> a windows-NT\unistd.h file and change windows-NT/config.h to
> '#define HAVE_UNISTD_H' instead of using a #undef for it.
>
> Are there any other opinions out there?
That works for me.
Derek
- --
*8^)
Email: derek@ximbiot.com
Get CVS support at <http://ximbiot.com>!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAoV+ELD1OTBfyMaQRAm/uAJ9LLe6QI8r9dHZRRoaPmDDCc4YVrACfQFj1
WaWIFzOHzggTFWoIqp5KBNQ=
=paJF
-----END PGP SIGNATURE-----
- Windows Build Issue: function getpass prototype needed, Conrad T. Pino, 2004/05/11
- Re: Windows Build Issue: function getpass prototype needed, Mark D. Baushke, 2004/05/11
- Re: Windows Build Issue: function getpass prototype needed,
Derek Robert Price <=
- RE: Windows Build Issue: function getpass prototype needed, Conrad T. Pino, 2004/05/11
- Re: Windows Build Issue: function getpass prototype needed, Mark D. Baushke, 2004/05/11
- RE: Windows Build Issue: function getpass prototype needed, Conrad T. Pino, 2004/05/11
- Re: Windows Build Issue: function getpass prototype needed, Derek Robert Price, 2004/05/11
- Re: Windows Build Issue: function getpass prototype needed, Mark D. Baushke, 2004/05/12
- Re: Windows Build Issue: function getpass prototype needed, Derek Robert Price, 2004/05/12
- Re: Windows Build Issue: function getpass prototype needed, Derek Robert Price, 2004/05/11