Run V7 tests with -Wundef

PUBLISHED_FROM=e2375c5b10be12a75f6a5f9df56ebe9f5faa9331
This commit is contained in:
Deomid Ryabkov authored and Cesanta Bot committed 2016-10-13 19:07:34 +00:00
1 parent bafc30bec6
commit 15e9a92798
1 file changed
+5 -1
+5 -1
View File
@@ -757,6 +757,8 @@ double cs_time(void) {
#if !DISABLE_MD5 && !defined(EXCLUDE_COMMON)
/* Amalgamated: #include "common/cs_endian.h" */
static void byteReverse(unsigned char *buf, unsigned longs) {
/* Forrest: MD5 expect LITTLE_ENDIAN, swap if BIG_ENDIAN */
#if BYTE_ORDER == BIG_ENDIAN
@@ -1148,9 +1150,11 @@ int mg_strcmp(const struct mg_str str1, const struct mg_str str2) {
/* Copyright(c) By Steve Reid <steve@edmweb.com> */
/* 100% Public Domain */
/* Amalgamated: #include "common/sha1.h" */
#if !DISABLE_SHA1 && !defined(EXCLUDE_COMMON)
/* Amalgamated: #include "common/sha1.h" */
/* Amalgamated: #include "common/cs_endian.h" */
#define SHA1HANDSOFF
#if defined(__sun)