Add configure script
[fio.git] / lib / getopt.h
index 237cbae541e716ea046fc55c35b1362014dada87..84272c0c8c288a3d0e5e8a6c2ce493d78c583999 100644 (file)
@@ -1,8 +1,8 @@
-#if !(defined(_AIX) || defined(__hpux))
+#ifndef CONFIG_GETOPT_LONG_ONLY
 
 #include <getopt.h>
 
 
 #include <getopt.h>
 
-#else /* _AIX || __hpux */
+#else
 
 #ifndef _GETOPT_H
 #define _GETOPT_H
 
 #ifndef _GETOPT_H
 #define _GETOPT_H
@@ -22,5 +22,5 @@ enum {
 
 int getopt_long_only(int, char *const *, const char *, const struct option *, int *);
 
 
 int getopt_long_only(int, char *const *, const char *, const struct option *, int *);
 
-#endif /* _GETOPT_H */
-#endif /* _AIX || __hpux */
+#endif
+#endif