mfcuk added to utils cmakelist modified acr122_usb.C et pn53x_usb.c modified to remove errors when compiling on Visual Studio 2022 on Windows
30 lines
662 B
C
30 lines
662 B
C
// XGetopt.h Version 1.2
|
|
//
|
|
// Author: Hans Dietrich
|
|
// hdietrich2@hotmail.com
|
|
//
|
|
// This software is released into the public domain.
|
|
// You are free to use it in any way you like.
|
|
//
|
|
// This software is provided "as is" with no expressed
|
|
// or implied warranty. I accept no liability for any
|
|
// damage or loss of business that this software may cause.
|
|
//
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef XGETOPT_H
|
|
#define XGETOPT_H
|
|
|
|
#if HAVE_UNISTD_H
|
|
#include <unistd.h>
|
|
#else
|
|
|
|
extern int optind, opterr;
|
|
extern char *optarg;
|
|
|
|
int getopt(int argc, char *argv[], char *optstring);
|
|
|
|
#endif
|
|
|
|
#endif //XGETOPT_H
|