зеркало из https://github.com/mozilla/pjs.git
Add platform specific defintions for LINEBREAK (these came from nsMsgLineBuffer)
This commit is contained in:
Родитель
5fe1801c03
Коммит
901b0fbab0
|
@ -84,3 +84,18 @@ NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_MAILNEWS, value)
|
|||
|
||||
#define NS_MSG_MESSAGE_NOT_FOUND NS_MSG_GENERATE_FAILURE(8)
|
||||
#define NS_MSG_NOT_A_MAIL_FOLDER NS_MSG_GENERATE_FAILURE(9)
|
||||
|
||||
#ifdef XP_MAC
|
||||
# define LINEBREAK "\015"
|
||||
# define LINEBREAK_LEN 1
|
||||
#else
|
||||
# ifdef XP_WIN
|
||||
# define LINEBREAK "\015\012"
|
||||
# define LINEBREAK_LEN 2
|
||||
# else
|
||||
# ifdef XP_UNIX
|
||||
# define LINEBREAK "\012"
|
||||
# define LINEBREAK_LEN 1
|
||||
# endif /* XP_UNIX */
|
||||
# endif /* XP_WIN */
|
||||
#endif /* XP_MAC */
|
Загрузка…
Ссылка в новой задаче