mirror of
https://github.com/luau-lang/luau.git
synced 2025-04-09 21:30:55 +01:00
Fix isocline warnings
This commit is contained in:
parent
4e60eec1fc
commit
4748777ce8
1 changed files with 6 additions and 1 deletions
7
extern/isocline/src/isocline.c
vendored
7
extern/isocline/src/isocline.c
vendored
|
@ -13,7 +13,12 @@
|
||||||
// $ gcc -c src/isocline.c
|
// $ gcc -c src/isocline.c
|
||||||
//-------------------------------------------------------------
|
//-------------------------------------------------------------
|
||||||
#if !defined(IC_SEPARATE_OBJS)
|
#if !defined(IC_SEPARATE_OBJS)
|
||||||
# define _CRT_SECURE_NO_WARNINGS // for msvc
|
# ifndef _CRT_NONSTDC_NO_WARNINGS
|
||||||
|
# define _CRT_NONSTDC_NO_WARNINGS // for msvc
|
||||||
|
# endif
|
||||||
|
# ifndef _CRT_SECURE_NO_WARNINGS
|
||||||
|
# define _CRT_SECURE_NO_WARNINGS // for msvc
|
||||||
|
# endif
|
||||||
# define _XOPEN_SOURCE 700 // for wcwidth
|
# define _XOPEN_SOURCE 700 // for wcwidth
|
||||||
# define _DEFAULT_SOURCE // ensure usleep stays visible with _XOPEN_SOURCE >= 700
|
# define _DEFAULT_SOURCE // ensure usleep stays visible with _XOPEN_SOURCE >= 700
|
||||||
# include "attr.c"
|
# include "attr.c"
|
||||||
|
|
Loading…
Add table
Reference in a new issue