* tui/tui-data.h (MAX_LOCATOR_ELEMENT_LEN): Defined to a bigger
[deliverable/binutils-gdb.git] / gdb / tui / tui-data.h
index 63a5b2594fd0802e50c44cdbf321d5f6a69bdee4..3a0c044f5d90648ce004037671a5cf433ad85e13 100644 (file)
@@ -195,8 +195,11 @@ struct tui_command_element
   char *line;
 };
 
-
-#define MAX_LOCATOR_ELEMENT_LEN        100
+#ifdef PATH_MAX
+# define MAX_LOCATOR_ELEMENT_LEN        PATH_MAX
+#else
+# define MAX_LOCATOR_ELEMENT_LEN        1024
+#endif
 
 /* Elements in the locator window content.  */
 struct tui_locator_element
This page took 0.023832 seconds and 4 git commands to generate.