[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

make getopt.c build in visual studio

From: Simon Josefsson
Subject: make getopt.c build in visual studio
Date: Fri, 03 Mar 2006 14:27:10 +0100
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

With this, getopt actually do seem to compile and work in Visual
Studio.  Tested with the CLI in libtasn1, part of GnuTLS, with long

I'll install this shortly unless someone protests.

2006-02-28  Simon Josefsson  <address@hidden>

        * getopt.c: Protect #include of unistd.h, for MSVS.

--- getopt.c    24 Jan 2006 12:55:34 +0100      1.48
+++ getopt.c    28 Feb 2006 11:31:27 +0100      
@@ -29,7 +29,9 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
 #ifdef VMS
 # include <unixlib.h>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]