mirror of
https://github.com/nmap/nmap.git
synced 2025-12-14 19:59:02 +00:00
Fix all the compiler warnings when building with Visual C++ 2008.
This commit is contained in:
@@ -118,8 +118,8 @@
|
||||
# if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
|
||||
# define __flexarr []
|
||||
# elif defined(_WIN32)
|
||||
/* MS VC++ */
|
||||
# define __flexarr []
|
||||
/* MS VC++ -- using [] works but gives a "nonstandard extension" warning */
|
||||
# define __flexarr [1]
|
||||
# else
|
||||
/* Some other non-C99 compiler. Approximate with [1]. */
|
||||
# define __flexarr [1]
|
||||
|
||||
Reference in New Issue
Block a user