Changeset 1729 for zzuf/trunk/src


Ignore:
Timestamp:
Feb 1, 2007, 5:41:54 PM (13 years ago)
Author:
Sam Hocevar
Message:
  • Added an MSVC project.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • zzuf/trunk/src/zzuf.c

    r1728 r1729  
    3535#   include <regex.h>
    3636#endif
     37#if defined HAVE_WINSOCK2_H
     38#   include <winsock2.h>
     39#endif
    3740#if defined HAVE_WINDOWS_H
    3841#   include <windows.h>
    39 #endif
    40 #if defined HAVE_WINSOCK2_H
    41 #   include <winsock2.h>
    4242#endif
    4343#if defined HAVE_IO_H
     
    125125#endif
    126126    int i;
     127#if !defined HAVE_GETOPT_H
     128#   define MOREINFO "Usage: %s message...\n"
     129    int optind = 1;
     130#endif
    127131
    128132    _zz_opts_init(opts);
     
    300304        }
    301305    }
    302 #else
    303 #   define MOREINFO "Usage: %s message...\n"
    304     int optind = 1;
    305306#endif
    306307
Note: See TracChangeset for help on using the changeset viewer.