OpenCores
URL https://opencores.org/ocsvn/altor32/altor32/trunk

Subversion Repositories altor32

[/] [altor32/] [trunk/] [or1k-sim/] [getopt_win32.h] - Rev 29

Go to most recent revision | Compare with Previous | Blame | View Log

// 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
 
#ifdef __cplusplus 
extern "C" {
#endif
 
#ifdef WIN32
 
#include <windows.h>
 
extern int optind, opterr;
extern TCHAR *optarg;
 
int getopt(int argc, TCHAR *argv[], TCHAR *optstring);
 
#endif
 
#ifdef __cplusplus
}
#endif
 
#endif //XGETOPT_H
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.