Branch and cache miss speedups
[fio.git] / lib / getopt.h
index 0dd4608cd8a6bbd671631db8cb6e7a4a0c721d23..bc8a2684495cf4cafa692dea4f11597823347ecf 100644 (file)
@@ -1,9 +1,8 @@
-#ifndef _AIX
-#ifndef __hpux
+#ifdef CONFIG_GETOPT_LONG_ONLY
 
 #include <getopt.h>
 
-#else /* _AIX */
+#else
 
 #ifndef _GETOPT_H
 #define _GETOPT_H
@@ -23,6 +22,5 @@ enum {
 
 int getopt_long_only(int, char *const *, const char *, const struct option *, int *);
 
-#endif /* _GETOPT_H */
-#endif /* __hpux */
-#endif /* _AIX */
+#endif
+#endif