X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=lib%2Fgetopt.h;h=bc8a2684495cf4cafa692dea4f11597823347ecf;hb=ab8286610c47a683e45a916cc3e1470b5fd4c530;hp=237cbae541e716ea046fc55c35b1362014dada87;hpb=09fa5bc41c7fc270bc3aba5a51759473f2078967;p=fio.git diff --git a/lib/getopt.h b/lib/getopt.h index 237cbae5..bc8a2684 100644 --- a/lib/getopt.h +++ b/lib/getopt.h @@ -1,8 +1,8 @@ -#if !(defined(_AIX) || defined(__hpux)) +#ifdef CONFIG_GETOPT_LONG_ONLY #include -#else /* _AIX || __hpux */ +#else #ifndef _GETOPT_H #define _GETOPT_H @@ -22,5 +22,5 @@ enum { int getopt_long_only(int, char *const *, const char *, const struct option *, int *); -#endif /* _GETOPT_H */ -#endif /* _AIX || __hpux */ +#endif +#endif