You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
896 B

7 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. /*
  2. This file isn't based in original TV file anymore.
  3. It was originally based on it and modified by Robert H�hne to be used for
  4. RHIDE. But currently it was rethinked from the start by Salvador E. Tropea.
  5. Copyright (c) 2000-2003 by Salvador E. Tropea. Covered by the GPL license.
  6. Most of the OS dependent code was moved to the "Compat LaYer" library.
  7. */
  8. #if !defined( CONFIG_H_INCLUDED )
  9. #define CONFIG_H_INCLUDED
  10. #include <limits.h>
  11. const int eventQSize = 16;
  12. const int maxCollectionSize = UINT_MAX/sizeof( void * );
  13. // May be I'll remove that sometimes
  14. #ifdef TVOS_DOS
  15. const int maxViewWidth = 132;
  16. #else // at least on linux in a xterm it can be more than 132
  17. const int maxViewWidth = 1024;
  18. #endif
  19. const int maxFindStrLen = 80;
  20. const int maxReplaceStrLen = 80;
  21. #include <tv/intl.h>
  22. #include <sys/types.h>
  23. #ifndef pid_t
  24. # define pid_t int
  25. #endif
  26. #endif // CONFIG_H_INCLUDED