зеркало из https://github.com/mozilla/gecko-dev.git
put linebreak defines here since I can't put them in nsCRT.h
This commit is contained in:
Родитель
a8df8db01e
Коммит
9f91cb13db
|
@ -19,6 +19,20 @@
|
|||
#include "msgcore.h"
|
||||
#include "nsMsgLineBuffer.h"
|
||||
|
||||
#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 */
|
||||
|
||||
nsMsgLineBuffer::nsMsgLineBuffer(nsMsgLineBufferHandler *handler, PRBool convertNewlinesP)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче