mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 23:18:33 +00:00
globals.h: Avoid expression in array definition.
See aa56b24ee6 (commitcomment-20949000)
This commit is contained in:
@@ -882,8 +882,13 @@ EXTERN int swap_exists_did_quit INIT(= FALSE);
|
|||||||
EXTERN char_u IObuff[IOSIZE]; ///< Buffer for sprintf, I/O, etc.
|
EXTERN char_u IObuff[IOSIZE]; ///< Buffer for sprintf, I/O, etc.
|
||||||
EXTERN char_u NameBuff[MAXPATHL]; ///< Buffer for expanding file names
|
EXTERN char_u NameBuff[MAXPATHL]; ///< Buffer for expanding file names
|
||||||
EXTERN char_u msg_buf[MSG_BUF_LEN]; ///< Small buffer for messages
|
EXTERN char_u msg_buf[MSG_BUF_LEN]; ///< Small buffer for messages
|
||||||
EXTERN char os_buf[MAX(MAXPATHL, IOSIZE)]; ///< Buffer for the os/ layer
|
EXTERN char os_buf[ ///< Buffer for the os/ layer
|
||||||
|
#if MAXPATHL > IOSIZE
|
||||||
|
MAXPATHL
|
||||||
|
#else
|
||||||
|
IOSIZE
|
||||||
|
#endif
|
||||||
|
];
|
||||||
|
|
||||||
/* When non-zero, postpone redrawing. */
|
/* When non-zero, postpone redrawing. */
|
||||||
EXTERN int RedrawingDisabled INIT(= 0);
|
EXTERN int RedrawingDisabled INIT(= 0);
|
||||||
|
Reference in New Issue
Block a user