Joshua
open source statistical hierarchical phrase-based machine translation system
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
src/kenlm/util/getopt.hh
00001 /*
00002 POSIX getopt for Windows
00003 
00004 AT&T Public License
00005 
00006 Code given out at the 1985 UNIFORUM conference in Dallas.
00007 */
00008 
00009 #ifdef __GNUC__
00010 #include <getopt.h>
00011 #endif
00012 #ifndef __GNUC__
00013 
00014 #ifndef UTIL_GETOPT_H
00015 #define UTIL_GETOPT_H
00016 
00017 #ifdef __cplusplus
00018 extern "C" {
00019 #endif
00020 
00021 extern int opterr;
00022 extern int optind;
00023 extern int optopt;
00024 extern char *optarg;
00025 extern int getopt(int argc, char **argv, char *opts);
00026 
00027 #ifdef __cplusplus
00028 }
00029 #endif
00030 
00031 #endif  /* UTIL_GETOPT_H */
00032 #endif  /* __GNUC__ */
00033