[
https://issues.apache.org/jira/browse/PROTON-236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13577728#comment-13577728
]
Mary hinton commented on PROTON-236:
------------------------------------
I looked for a getopt() with a BSD license.
freegetopt-0.11.tar.gz
BSD 3-clause license ("Revised BSD License", "New BSD License", or "Modified
BSD License").
It should work fine for Windows Visual Studio.
I put getopt.h and getopt.c in the proton-c/src folder and tested it in the
proton project.
I downloaded it from:
http://sourceforge.net/projects/freegetopt/files/latest/download
> Porting Issue -- Visual Studio does not provide a getopt() function
> -------------------------------------------------------------------
>
> Key: PROTON-236
> URL: https://issues.apache.org/jira/browse/PROTON-236
> Project: Qpid Proton
> Issue Type: Improvement
> Components: proton-c
> Environment: Windows using Visual Studio 2010
> Reporter: Mary hinton
> Fix For: 0.4
>
> Attachments: freegetopt-0.11.tar.gz, getopt.c, getopt.h
>
>
> Since Visual Studio 2010 does not provide a getopt(), I used the getopt()
> function found in the GNU library getopt.h and getopt.c. I made a few minor
> changes and will attach these files to this JIRA.
> Besides the proton.c file, the proton project workspace for Visual Studio
> would need to include getopt() files.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira