http2: rectify the http2 version #if check

We need 1.0.0 or later. Also verified by configure.
This commit is contained in:
Daniel Stenberg 2015-11-10 09:10:46 +01:00
parent 7023d8aa37
commit 01b7d8274c

View File

@ -42,7 +42,7 @@
#define MIN(x,y) ((x)<(y)?(x):(y))
#if (NGHTTP2_VERSION_NUM < 0x000600)
#if (NGHTTP2_VERSION_NUM < 0x010000)
#error too old nghttp2 version, upgrade!
#endif