Commit 15e9a927 authored by Deomid Ryabkov's avatar Deomid Ryabkov Committed by Cesanta Bot

Run V7 tests with -Wundef

PUBLISHED_FROM=e2375c5b10be12a75f6a5f9df56ebe9f5faa9331
parent bafc30be
...@@ -757,6 +757,8 @@ double cs_time(void) { ...@@ -757,6 +757,8 @@ double cs_time(void) {
#if !DISABLE_MD5 && !defined(EXCLUDE_COMMON) #if !DISABLE_MD5 && !defined(EXCLUDE_COMMON)
/* Amalgamated: #include "common/cs_endian.h" */
static void byteReverse(unsigned char *buf, unsigned longs) { static void byteReverse(unsigned char *buf, unsigned longs) {
/* Forrest: MD5 expect LITTLE_ENDIAN, swap if BIG_ENDIAN */ /* Forrest: MD5 expect LITTLE_ENDIAN, swap if BIG_ENDIAN */
#if BYTE_ORDER == BIG_ENDIAN #if BYTE_ORDER == BIG_ENDIAN
...@@ -1148,9 +1150,11 @@ int mg_strcmp(const struct mg_str str1, const struct mg_str str2) { ...@@ -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> */ /* Copyright(c) By Steve Reid <steve@edmweb.com> */
/* 100% Public Domain */ /* 100% Public Domain */
/* Amalgamated: #include "common/sha1.h" */
#if !DISABLE_SHA1 && !defined(EXCLUDE_COMMON) #if !DISABLE_SHA1 && !defined(EXCLUDE_COMMON)
/* Amalgamated: #include "common/sha1.h" */ /* Amalgamated: #include "common/cs_endian.h" */
#define SHA1HANDSOFF #define SHA1HANDSOFF
#if defined(__sun) #if defined(__sun)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment