Replace readdir_r with readdir
[platform/upstream/ltrace.git] / options.h
index d0df3a7..38f4ecd 100644 (file)
--- a/options.h
+++ b/options.h
@@ -21,8 +21,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
  * 02110-1301 USA
  */
-#ifndef _OPTIONS_H_
-#define _OPTIONS_H_
+
+#ifndef OPTIONS_H
+#define OPTIONS_H
 
 #include <stdio.h>
 #include <sys/types.h>
@@ -44,9 +45,9 @@ struct options_t {
        size_t strlen;     /* default maximum # of bytes printed in strings */
        int follow;     /* trace child processes */
        int no_signals; /* don't print signals */
-#if defined(HAVE_LIBUNWIND)
+#if defined(HAVE_UNWINDER)
        int bt_depth;    /* how may levels of stack frames to show */
-#endif /* defined(HAVE_LIBUNWIND) */
+#endif /* defined(HAVE_UNWINDER) */
        struct filter *plt_filter;
        struct filter *static_filter;
 
@@ -105,4 +106,4 @@ extern struct vect opt_F;
 
 extern char **process_options(int argc, char **argv);
 
-#endif /* _OPTIONS_H_ */
+#endif /* OPTIONS_H */