зеркало из https://github.com/mozilla/gecko-dev.git
Add macro definition for NS_LINEBREAK and NS_LINEBREAK_LEN. Folks should use this instead of defining their own LINEBREAK macros all over the place.
This commit is contained in:
Родитель
18c2fd395a
Коммит
bdfc68dc2f
|
@ -31,6 +31,21 @@
|
|||
#define TAB '\011'
|
||||
#define CRLF "\015\012" /* A CR LF equivalent string */
|
||||
|
||||
#ifdef XP_MAC
|
||||
# define NS_LINEBREAK "\015"
|
||||
# define NS_LINEBREAK_LEN 1
|
||||
#else
|
||||
# ifdef XP_PC
|
||||
# define NS_LINEBREAK "\015\012"
|
||||
# define NS_LINEBREAK_LEN 2
|
||||
# else
|
||||
# ifdef XP_UNIX
|
||||
# define NS_LINEBREAK "\012"
|
||||
# define NS_LINEBREAK_LEN 1
|
||||
# endif /* XP_UNIX */
|
||||
# endif /* XP_PC */
|
||||
#endif /* XP_MAC */
|
||||
|
||||
|
||||
extern const PRUnichar kIsoLatin1ToUCS2[256];
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче