1
0
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:
david
2009-04-29 17:56:30 +00:00
parent 3a06a43a24
commit b4243e23f2
6 changed files with 6 additions and 11 deletions

View File

@@ -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]