ecotarobles ac8e02604d Swap out ancient getopt for a newer one and address review feedback. 5 лет назад
..
CMakeLists.txt ac8e02604d Swap out ancient getopt for a newer one and address review feedback. 5 лет назад
LICENSE 5ddafb3142 Example under GPLv2 5 лет назад
README-getopt-for-windows.md 42e79ce921 Command line options for example server client: 5 лет назад
getopt.cpp ac8e02604d Swap out ancient getopt for a newer one and address review feedback. 5 лет назад
getopt.h ac8e02604d Swap out ancient getopt for a newer one and address review feedback. 5 лет назад
main.cpp ac8e02604d Swap out ancient getopt for a newer one and address review feedback. 5 лет назад
parse_cl.cpp ac8e02604d Swap out ancient getopt for a newer one and address review feedback. 5 лет назад
parse_cl.h 42e79ce921 Command line options for example server client: 5 лет назад

README-getopt-for-windows.md

getopt-for-windows

getopt.h and getopt.c is very often used in linux, to make it easy for windows user, two files were extracted from glibc. In order to make it works properly in windows, some modification was done and you may compare the change using original source files. Enjoy it!

Source: https://github.com/Chunde/getopt-for-windows. IMPORTANT: getopt.[ch] are likely not safe for Linux due to conflict with existing getopt.[ch]. They are thus NOT in CMakeFiles.txt and instead both files are #include only on Windows.