#include <sys/wait.h>
#include <sys/stat.h>
-#include <cwchar>
+#if HAVE_CWCHAR
+# include <cwchar>
+#elif HAVE_WCHAR_H
+# include <wchar.h>
+#else
+// stdlib.h might provide it
+#endif
#include "ptytty.h"
extern rxvt_t rxvt_current_term;
-# define SET_R(r) rxvt_current_term = (r)
-# define GET_R rxvt_current_term
+#define SET_R(r) rxvt_current_term = (r)
+#define GET_R rxvt_current_term
#define scrollbar_visible() scrollBar.state
#define menubar_visible() menuBar.state
# define Opt_insecure 0
# define Opt_borderLess 0
#endif
+#define Opt_pastableTabs (1UL<<25)
/* place holder used for parsing command-line options */
#define Opt_Reverse (1UL<<30)
#define Opt_Boolean (1UL<<31)
-#define DEFAULT_OPTIONS (Opt_scrollBar | Opt_scrollTtyOutput | \
- Opt_jumpScroll | Opt_secondaryScreen)
+#define DEFAULT_OPTIONS (Opt_scrollBar | Opt_scrollTtyOutput \
+ | Opt_jumpScroll | Opt_secondaryScreen \
+ | Opt_pastableTabs)
/* ------------------------------------------------------------------------- */